summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_open.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-05-20 03:03:49 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-05-20 03:03:49 +0200
commit89eeecb89982f5b4819121a7c145d561f2f4d616 (patch)
tree54981d49f233d561d0aa6e576af2ba53a5d4927f /bgpd/bgp_open.h
parentbgpd: Add route-map support for set ip next-hop unchanged (diff)
downloadfrr-89eeecb89982f5b4819121a7c145d561f2f4d616.tar.xz
frr-89eeecb89982f5b4819121a7c145d561f2f4d616.zip
BGP: Use the new value of dynamic capability in Open
The value for dynamic capability used in BGP open during capability negotiation is a deprecated value. Thus, interop with other systems is broken. This patch fixes that by advertising both the old and new values. This ensures interop with older versions of quagga and other non-quagga systems. Signed-off-by: Dinesh G Dutt <ddutt@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_open.h')
-rw-r--r--bgpd/bgp_open.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_open.h b/bgpd/bgp_open.h
index 6b51d938f..da6f29d2a 100644
--- a/bgpd/bgp_open.h
+++ b/bgpd/bgp_open.h
@@ -74,7 +74,8 @@ struct capability_gr
#define CAPABILITY_CODE_ORF 3 /* Cooperative Route Filtering Capability */
#define CAPABILITY_CODE_RESTART 64 /* Graceful Restart Capability */
#define CAPABILITY_CODE_AS4 65 /* 4-octet AS number Capability */
-#define CAPABILITY_CODE_DYNAMIC 66 /* Dynamic Capability */
+#define CAPABILITY_CODE_DYNAMIC_OLD 66 /* Dynamic Capability, deprecated since 2003 */
+#define CAPABILITY_CODE_DYNAMIC 67 /* Dynamic Capability */
#define CAPABILITY_CODE_ADDPATH 69 /* Addpath Capability */
#define CAPABILITY_CODE_REFRESH_OLD 128 /* Route Refresh Capability(cisco) */
#define CAPABILITY_CODE_ORF_OLD 130 /* Cooperative Route Filtering Capability(cisco) */