summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-03-10 08:04:39 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-04-06 10:32:08 -0400
commit64d222e2c3d628c76817d402c85e84dfa528f13f (patch)
tree2975c05436c0b7196d97da5fe5044bbf4be4b1ba
parent02cd9458d6de1c86f8cd1f6f08406348d2994486 (diff)
bgpd: Use appropriate Attribute number for labels
The draft-ietf-idr-bgp-prefix-sid-04 specifies the label attribute should be 40 not 30. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
-rw-r--r--bgpd/bgpd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h
index 83c5d90ddf..1b97a25039 100644
--- a/bgpd/bgpd.h
+++ b/bgpd/bgpd.h
@@ -972,8 +972,8 @@ struct bgp_nlri
#define BGP_ATTR_AS4_AGGREGATOR 18
#define BGP_ATTR_AS_PATHLIMIT 21
#define BGP_ATTR_ENCAP 23
-#define BGP_ATTR_LABEL_INDEX 30
#define BGP_ATTR_LARGE_COMMUNITIES 32
+#define BGP_ATTR_LABEL_INDEX 40
#if ENABLE_BGP_VNC
#define BGP_ATTR_VNC 255
#endif