From: Ondrej Zajicek Date: Sat, 26 Apr 2025 22:48:29 +0000 (+0200) Subject: BGP: Update obsolete RFC 8203 to newer RFC 9003 X-Git-Tag: v2.17.1~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0d553f675ee7a6aa0a04b2564772952479ae58dd;p=thirdparty%2Fbird.git BGP: Update obsolete RFC 8203 to newer RFC 9003 --- diff --git a/doc/bird.sgml b/doc/bird.sgml index 33030aec5..d33c7b34c 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -2852,10 +2852,10 @@ avoid routing loops. – Advertisement of Multiple Paths in BGP – Internet Exchange BGP Route Server – BGP Large Communities Attribute - – BGP Administrative Shutdown Communication – Default EBGP Route Propagation Behavior without Policies – Extended Message Support for BGP – Advertising IPv4 NLRI with an IPv6 Next Hop + – Extended BGP Administrative Shutdown Communication – Extended Optional Parameters Length for BGP OPEN Message – Revised Validation Procedure for BGP Flow Specifications – Route Leak Prevention and Detection Using Roles diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c index f762e4a62..c8f90fadb 100644 --- a/proto/bgp/bgp.c +++ b/proto/bgp/bgp.c @@ -97,12 +97,12 @@ * RFC 7911 - Advertisement of Multiple Paths in BGP * RFC 7947 - Internet Exchange BGP Route Server * RFC 8092 - BGP Large Communities Attribute - * RFC 8203 - BGP Administrative Shutdown Communication * RFC 8212 - Default EBGP Route Propagation Behavior without Policies * RFC 8654 - Extended Message Support for BGP * RFC 8950 - Advertising IPv4 NLRI with an IPv6 Next Hop * RFC 8955 - Dissemination of Flow Specification Rules * RFC 8956 - Dissemination of Flow Specification Rules for IPv6 + * RFC 9003 - Extended BGP Administrative Shutdown Communication * RFC 9072 - Extended Optional Parameters Length for BGP OPEN Message * RFC 9117 - Revised Validation Procedure for BGP Flow Specifications * RFC 9234 - Route Leak Prevention and Detection Using Roles @@ -2212,7 +2212,7 @@ bgp_shutdown(struct proto *P) bgp_store_error(p, NULL, BE_MAN_DOWN, 0); p->startup_delay = 0; - /* RFC 8203 - shutdown communication */ + /* RFC 9003 - shutdown communication */ if (message) { uint msg_len = strlen(message); diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c index eb112c5be..0971107ce 100644 --- a/proto/bgp/packets.c +++ b/proto/bgp/packets.c @@ -3345,7 +3345,7 @@ bgp_error_dsc(uint code, uint subcode) return buff; } -/* RFC 8203 - shutdown communication message */ +/* RFC 9003 - shutdown communication message */ static int bgp_handle_message(struct bgp_proto *p, byte *data, uint len, byte **bp) { @@ -3400,7 +3400,7 @@ bgp_log_error(struct bgp_proto *p, u8 class, char *msg, uint code, uint subcode, goto done; } - /* RFC 8203 - shutdown communication */ + /* RFC 9003 - shutdown communication */ if (((code == 6) && ((subcode == 2) || (subcode == 4)))) if (bgp_handle_message(p, data, len, &t)) goto done;