]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_fsm.c
bgpd: Try to notice when configuration changes during startup
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 11 Sep 2018 12:13:42 +0000 (08:13 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 1 Oct 2018 14:58:06 +0000 (10:58 -0400)
commit9bf904cc8b05b0771665291d9a7df34a253ac6de
tree21be75b6c4f7f0349205996cdf2f8c66ccb44321
parent2268d8cfe787fd09247768795c20e9ce9eccd402
bgpd: Try to notice when configuration changes during startup

During peer startup there exists the possibility that both
locally and remote peers try to start communication at the
same time.  In addition it is possible for local configuration
to change at the same time this is going on.  When this happens
try to notice that the remote peer may be in opensent or openconfirm
and if so we need to restart the connection from both sides.

Additionally try to write a bit of extra code in peer_xfer_conn
to notice when this happens and to emit a error message to
the end user about this happening so that it can be cleaned up.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_errors.c
bgpd/bgp_errors.h
bgpd/bgp_fsm.c
bgpd/bgpd.c