summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_debug.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2022-01-05 08:39:44 +0100
committerDonatas Abraitis <donatas.abraitis@gmail.com>2022-01-06 09:07:41 +0100
commit0ac74523346974e7ad7c42480f4862af5a3d57c1 (patch)
tree25905d6f7236a1ff56a223cbbfed35f238f1bb85 /bgpd/bgp_debug.c
parentMerge pull request #10294 from opensourcerouting/topotests-nhrp-require-5.0 (diff)
downloadfrr-0ac74523346974e7ad7c42480f4862af5a3d57c1.tar.xz
frr-0ac74523346974e7ad7c42480f4862af5a3d57c1.zip
bgpd: Adjust symbolic names for cease notifications according to rfc4486
The following subcodes are defined for the Cease NOTIFICATION message: Subcode Symbolic Name 1 Maximum Number of Prefixes Reached 2 Administrative Shutdown 3 Peer De-configured 4 Administrative Reset 5 Connection Rejected 6 Other Configuration Change 7 Connection Collision Resolution 8 Out of Resources Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'bgpd/bgp_debug.c')
-rw-r--r--bgpd/bgp_debug.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bgpd/bgp_debug.c b/bgpd/bgp_debug.c
index 856afb05f..fde1bdd7c 100644
--- a/bgpd/bgp_debug.c
+++ b/bgpd/bgp_debug.c
@@ -160,14 +160,14 @@ static const struct message bgp_notify_update_msg[] = {
static const struct message bgp_notify_cease_msg[] = {
{BGP_NOTIFY_SUBCODE_UNSPECIFIC, "/Unspecific"},
{BGP_NOTIFY_CEASE_MAX_PREFIX, "/Maximum Number of Prefixes Reached"},
- {BGP_NOTIFY_CEASE_ADMIN_SHUTDOWN, "/Administratively Shutdown"},
- {BGP_NOTIFY_CEASE_PEER_UNCONFIG, "/Peer Unconfigured"},
- {BGP_NOTIFY_CEASE_ADMIN_RESET, "/Administratively Reset"},
+ {BGP_NOTIFY_CEASE_ADMIN_SHUTDOWN, "/Administrative Shutdown"},
+ {BGP_NOTIFY_CEASE_PEER_UNCONFIG, "/Peer De-configured"},
+ {BGP_NOTIFY_CEASE_ADMIN_RESET, "/Administrative Reset"},
{BGP_NOTIFY_CEASE_CONNECT_REJECT, "/Connection Rejected"},
{BGP_NOTIFY_CEASE_CONFIG_CHANGE, "/Other Configuration Change"},
{BGP_NOTIFY_CEASE_COLLISION_RESOLUTION,
- "/Connection collision resolution"},
- {BGP_NOTIFY_CEASE_OUT_OF_RESOURCE, "/Out of Resource"},
+ "/Connection Collision Resolution"},
+ {BGP_NOTIFY_CEASE_OUT_OF_RESOURCE, "/Out of Resources"},
{0}};
static const struct message bgp_notify_route_refresh_msg[] = {