summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_debug.c')
-rw-r--r--bgpd/bgp_debug.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/bgpd/bgp_debug.c b/bgpd/bgp_debug.c
index 78ac799d..3e3042a7 100644
--- a/bgpd/bgp_debug.c
+++ b/bgpd/bgp_debug.c
@@ -77,6 +77,15 @@ const struct message bgp_status_msg[] =
};
const int bgp_status_msg_max = bgp_fsm_last_state + 1 ;
+const struct message bgp_peer_status_msg[] =
+{
+ { bgp_peer_sIdle, "Idle" },
+ { bgp_peer_sEstablished, "Established" },
+ { bgp_peer_sClearing, "Clearing" },
+ { bgp_peer_sDeleted, "Deleted" },
+};
+const int bgp_peer_status_msg_max = bgp_peer_max_state + 1 ;
+
/* BGP message type string. */
const char *bgp_type_str[] =
{