From 634d1375faa62c6593cc9292d32804666333a1f6 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Tue, 23 Apr 2024 08:52:31 +0300 Subject: [PATCH] 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 --- bgpd/bgp_ecommunity.h | 5 +++-- 1 file 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 -- 2.39.5