From 9bf904cc8b05b0771665291d9a7df34a253ac6de Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 11 Sep 2018 08:13:42 -0400 Subject: 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 --- bgpd/bgp_errors.h | 1 + 1 file changed, 1 insertion(+) (limited to 'bgpd/bgp_errors.h') diff --git a/bgpd/bgp_errors.h b/bgpd/bgp_errors.h index 853f2da22..13bd318e2 100644 --- a/bgpd/bgp_errors.h +++ b/bgpd/bgp_errors.h @@ -99,6 +99,7 @@ enum bgp_log_refs { EC_BGP_CAPABILITY_VENDOR, EC_BGP_CAPABILITY_UNKNOWN, EC_BGP_INVALID_NEXTHOP_LENGTH, + EC_BGP_DOPPELGANGER_CONFIG, }; extern void bgp_error_init(void); -- cgit v1.2.3