summaryrefslogtreecommitdiff
path: root/lib/compiler.h
diff options
context:
space:
mode:
authorMatthew Smith <mgsmith@netgate.com>2019-07-09 12:59:44 -0500
committerMatthew Smith <mgsmith@netgate.com>2019-07-10 07:53:05 -0500
commit497b686a49452c0ed51b377eefbc0bd987e1b5a7 (patch)
treeb195f0ebc40838150203ba6b00777ecd179edb6e /lib/compiler.h
parentf85d5e3d972dc507cfd277a62c938d967cb28974 (diff)
bgpd: honor max prefix timer on inbound sessions
When using the maximum-prefix restart option with a BGP peer, if the peer exceeds the limit of prefixes, bgpd causes the connection to be closed and sets a timer. It will not attempt to connect to that peer until the timer expires. But if the peer attempts to connect to it before the timer expires, it accepts the connection and starts exchanging routes again. When accepting a connection from a peer, reject the connection if the max prefix restart timer is set. Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Diffstat (limited to 'lib/compiler.h')
0 files changed, 0 insertions, 0 deletions