]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Allow Address-Family activation to work in certain states
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 1 Dec 2017 16:49:13 +0000 (11:49 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 1 Dec 2017 16:49:13 +0000 (11:49 -0500)
commit64c1a9b59bcbd4a551aa2a6111cc7b7d6dab376a
tree6507553b2b69e09f70401962ceafe85a08778e97
parent493472ba8ecb44f21bc9cd85c1307262648d5bc3
bgpd: Allow Address-Family activation to work in certain states

If we are in OpenSent or OpenConfirm peer state and we receive a new
address-family activation, we would end up ignoring the new activation
and not tell our peer about it.  You could notice this by seeing
the fact that a 'show bgp neighbor' command returns a 'Not in
any update group' for a particular family.

This modifies the code such that we now notice that we are in
either OpenSent or OpenConfirm state and reset the peer to
allow us to send them the new capability.

Ticket: CM-19021
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgpd.c