summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_debug.c
diff options
context:
space:
mode:
authorpaulo <paul@bayleaf.org.uk>2010-01-27 11:40:13 +0000
committerpaulo <paul@bayleaf.org.uk>2010-01-27 11:40:13 +0000
commit6503ce4cef43d8fe4da510fe9c55911c4af296e9 (patch)
tree39776a6f5c1ee6046aafc0072f92c923840fb9ca /bgpd/bgp_debug.c
parentffb52b1a705814c52d2d1b41c7058897f11b5aa3 (diff)
downloadquagga-6503ce4cef43d8fe4da510fe9c55911c4af296e9.tar.bz2
quagga-6503ce4cef43d8fe4da510fe9c55911c4af296e9.tar.xz
Fixed program shutdown. Added peering engine side of TTL changing.
Changed names of peer states. Writed in peering engine side of sending route_refresh.
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[] =
{