summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_errors.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-09-11 14:13:42 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-10-01 16:58:06 +0200
commit9bf904cc8b05b0771665291d9a7df34a253ac6de (patch)
tree21be75b6c4f7f0349205996cdf2f8c66ccb44321 /bgpd/bgp_errors.h
parentMerge pull request #3086 from patrasar/1836 (diff)
downloadfrr-9bf904cc8b05b0771665291d9a7df34a253ac6de.tar.xz
frr-9bf904cc8b05b0771665291d9a7df34a253ac6de.zip
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 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);