summaryrefslogtreecommitdiff
path: root/bgpd/bgp_ecommunity.h
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-04-23 08:52:31 +0300
committerDonatas Abraitis <donatas@opensourcerouting.org>2024-04-23 08:55:00 +0300
commit634d1375faa62c6593cc9292d32804666333a1f6 (patch)
tree24289193700d4c88a47ae9d03460008f74f31291 /bgpd/bgp_ecommunity.h
parent593a80651041618a48d04c0c38f1acb23b613400 (diff)
bgpd: Update IPv6 extended community sub-type for extended link bandwidth
Already assigned by IANA, just the draft is not yet updated. https://www.iana.org/assignments/bgp-extended-communities/bgp-extended-communities.xhtml#trans-ipv6 Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_ecommunity.h')
-rw-r--r--bgpd/bgp_ecommunity.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/bgpd/bgp_ecommunity.h b/bgpd/bgp_ecommunity.h
index 74616f01a5..929e4e60be 100644
--- a/bgpd/bgp_ecommunity.h
+++ b/bgpd/bgp_ecommunity.h
@@ -60,9 +60,10 @@
#define ECOMMUNITY_FLOWSPEC_REDIRECT_IPV6 0x0d
/* https://datatracker.ietf.org/doc/html/draft-li-idr-link-bandwidth-ext-01
- * Sub-type is not allocated by IANA, but let's get the first available.
+ * Sub-type is allocated by IANA, just the draft is not yet updated with the
+ * new value.
*/
-#define ECOMMUNITY_EXTENDED_LINK_BANDWIDTH 0x0016
+#define ECOMMUNITY_EXTENDED_LINK_BANDWIDTH 0x0006
/* Low-order octet of the Extended Communities type field for EVPN types */
#define ECOMMUNITY_EVPN_SUBTYPE_MACMOBILITY 0x00