aboutsummaryrefslogtreecommitdiffstats
path: root/proto/bgp/packets.c
diff options
context:
space:
mode:
authorJob Snijders <job@fastly.com>2024-02-18 09:00:10 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2024-02-18 09:06:52 +0100
commit44a16bff6cbf3f5ae8db21ffcec602bc51295d0a (patch)
treea9f08266f12063ce7ffe89938161e33781ab151a /proto/bgp/packets.c
parentc3335b504403136ef8deb81cb034480a65ca2815 (diff)
downloadbird-44a16bff6cbf3f5ae8db21ffcec602bc51295d0a.tar.gz
BGP: Update SendHoldTimer BGP Error code
IANA registered an "Early Allocation" BGP Error code for 'Send Hold Timer Expired' event. Update BIRD to use that error code.
Diffstat (limited to 'proto/bgp/packets.c')
-rw-r--r--proto/bgp/packets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c
index 18a226fb..f1e03621 100644
--- a/proto/bgp/packets.c
+++ b/proto/bgp/packets.c
@@ -3275,7 +3275,6 @@ static struct {
{ 3, 10, "Invalid network field" },
{ 3, 11, "Malformed AS_PATH" },
{ 4, 0, "Hold timer expired" },
- { 4, 1, "Send hold timer expired" }, /* Provisional [draft-ietf-idr-bgp-sendholdtimer] */
{ 5, 0, "Finite state machine error" }, /* Subcodes are according to [RFC6608] */
{ 5, 1, "Unexpected message in OpenSent state" },
{ 5, 2, "Unexpected message in OpenConfirm state" },
@@ -3290,7 +3289,8 @@ static struct {
{ 6, 7, "Connection collision resolution" },
{ 6, 8, "Out of Resources" },
{ 7, 0, "Invalid ROUTE-REFRESH message" }, /* [RFC7313] */
- { 7, 1, "Invalid ROUTE-REFRESH message length" } /* [RFC7313] */
+ { 7, 1, "Invalid ROUTE-REFRESH message length" }, /* [RFC7313] */
+ { 8, 0, "Send hold timer expired" }, /* [draft-ietf-idr-bgp-sendholdtimer] */
};
/**