summaryrefslogtreecommitdiff
path: root/bgpd/bgp_errors.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-09-11 08:13:42 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-10-01 10:58:06 -0400
commit9bf904cc8b05b0771665291d9a7df34a253ac6de (patch)
tree21be75b6c4f7f0349205996cdf2f8c66ccb44321 /bgpd/bgp_errors.h
parent2268d8cfe787fd09247768795c20e9ce9eccd402 (diff)
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>
Diffstat (limited to 'bgpd/bgp_errors.h')
-rw-r--r--bgpd/bgp_errors.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_errors.h b/bgpd/bgp_errors.h
index 853f2da222..13bd318e27 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);