]> The Tcpdump Group git mirrors - tcpdump/commitdiff
BGP: Add Error code for Send Hold Timer
authorJob Snijders <[email protected]>
Sat, 17 Feb 2024 10:49:22 +0000 (10:49 +0000)
committerfxlb <[email protected]>
Tue, 20 Feb 2024 12:29:49 +0000 (12:29 +0000)
https://datatracker.ietf.org/doc/html/draft-ietf-idr-bgp-sendholdtimer
https://www.iana.org/assignments/bgp-parameters/bgp-parameters.xhtml#bgp-parameters-3

print-bgp.c

index 55857c694bf6ce980e57038ec8c981959221f57d..6c5be54463085c769406cd27d428384d07ee52f4 100644 (file)
@@ -289,6 +289,7 @@ static const struct tok bgp_capcode_values[] = {
 #define BGP_NOTIFY_MAJOR_FSM            5
 #define BGP_NOTIFY_MAJOR_CEASE          6
 #define BGP_NOTIFY_MAJOR_ROUTEREFRESH   7
+#define BGP_NOTIFY_MAJOR_SENDHOLDTIME   8
 
 static const struct tok bgp_notify_major_values[] = {
     { BGP_NOTIFY_MAJOR_MSG,     "Message Header Error"},
@@ -298,6 +299,7 @@ static const struct tok bgp_notify_major_values[] = {
     { BGP_NOTIFY_MAJOR_FSM,     "Finite State Machine Error"},
     { BGP_NOTIFY_MAJOR_CEASE,   "Cease"},
     { BGP_NOTIFY_MAJOR_ROUTEREFRESH, "ROUTE-REFRESH Message Error"},
+    { BGP_NOTIFY_MAJOR_SENDHOLDTIME, "Send Hold Timer Expired"},
     { 0, NULL}
 };