]> git.proxmox.com Git - mirror_frr.git/commitdiff
bgpd: Use appropriate Attribute number for labels
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 10 Mar 2017 13:04:39 +0000 (08:04 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 6 Apr 2017 14:32:08 +0000 (10:32 -0400)
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>
bgpd/bgpd.h

index 83c5d90ddf1aea3d6b7c8af43420113a1754b6bd..1b97a25039272bda2b6ad7d8e45ad678cd78163f 100644 (file)
@@ -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