diff options
author | Timo Teräs <timo.teras@iki.fi> | 2009-02-17 12:14:23 +0200 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2009-07-21 13:15:32 +0100 |
commit | e8eb000e15e2bbe63467d7c056f2b21b72ba7bd6 (patch) | |
tree | 3e21cb6d66b0e1b8caaacc687ad30b83607d33a3 /bgpd/bgp_filter.c | |
parent | e7cc3b383e5e9190aa7784554c605a3a661ebe2b (diff) |
[bgpd] Avoid zombie accepted peer entries
Currently, when accepting the connection, it can be left as zombie, when the
peer just initiates a connection, but never sends data (and the TCP
connection end packets are lost). This happens because for accepted
connections a temporary new peer entry is created until OPEN message is
exchanged, and this temporary peer entry does not get the hold time
parameter set at all.
* bgp_network.c: (bgp_accept) Set hold time and keepalive values for ACCEPT
peers.
Diffstat (limited to 'bgpd/bgp_filter.c')
0 files changed, 0 insertions, 0 deletions