[patch] update documentation
Job Snijders
job at sobornost.net
Tue Jan 7 16:07:33 CET 2025
RFC 8203 was replaced by RFC 9003; BIRD supports 9003 since 2019. While
there add Send Hold Timer to the list.
diff --git doc/bird.sgml doc/bird.sgml
index d1b90a1d..54c7d207 100644
--- doc/bird.sgml
+++ doc/bird.sgml
@@ -2169,8 +2169,9 @@ avoid routing loops.
<item> <rfc id="7911"> - Advertisement of Multiple Paths in BGP
<item> <rfc id="7947"> - Internet Exchange BGP Route Server
<item> <rfc id="8092"> - BGP Large Communities Attribute
-<item> <rfc id="8203"> - BGP Administrative Shutdown Communication
<item> <rfc id="8212"> - Default EBGP Route Propagation Behavior without Policies
+<item> <rfc id="9003"> - Extended BGP Administrative Shutdown Communication
+<item> <rfc id="9687"> - Border Gateway Protocol 4 (BGP-4) Send Hold Timer
</itemize>
<sect1>Route selection rules
diff --git proto/bgp/bgp.c proto/bgp/bgp.c
index b26e5e87..b74239b4 100644
--- proto/bgp/bgp.c
+++ proto/bgp/bgp.c
@@ -97,8 +97,8 @@
* 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 9003 - Extended BGP Administrative Shutdown Communication
* draft-ietf-idr-bgp-extended-messages-27
* draft-ietf-idr-ext-opt-param-07
* draft-uttaro-idr-bgp-persistence-04
@@ -1623,7 +1623,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 proto/bgp/packets.c proto/bgp/packets.c
index 2b7ee1d0..e3dec2e4 100644
--- proto/bgp/packets.c
+++ proto/bgp/packets.c
@@ -2946,7 +2946,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)
{
@@ -2995,7 +2995,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;
More information about the Bird-users
mailing list