summaryrefslogtreecommitdiffstats
path: root/bgpd
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@sun.com>2006-02-21 02:14:13 +0100
committerPaul Jakma <paul.jakma@sun.com>2006-02-21 02:14:13 +0100
commit6a419733c5fba17b246b5cce4af73828f8c346ef (patch)
treef62342579f0adce713aa9d599bfe2fa20a987456 /bgpd
parent[bgpd] Record afi/safi in bgp_table. Serialise peer clear with FSM. (diff)
downloadfrr-6a419733c5fba17b246b5cce4af73828f8c346ef.tar.xz
frr-6a419733c5fba17b246b5cce4af73828f8c346ef.zip
[bgpd] Add Clrng description to bgp summary state.
2006-02-21 Paul Jakma <paul.jakma@sun.com> * bgp_vty.c: (bgp_show_summary) Add a 'Clrng' sub-description to state of peer while it's suppressed due to clearing.
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/ChangeLog2
-rw-r--r--bgpd/bgp_vty.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/bgpd/ChangeLog b/bgpd/ChangeLog
index 9a960a382..b10250aa4 100644
--- a/bgpd/ChangeLog
+++ b/bgpd/ChangeLog
@@ -31,6 +31,8 @@
than plugging process queue, and lock peer while queue
active.
Update to pass only bgp_node as per-queue-item specific data.
+ * bgp_vty.c: (bgp_show_summary) Add a 'Clrng' sub-description
+ to state of peer while it's suppressed due to clearing.
2006-02-18 Paul Jakma <paul.jakma@sun.com>
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index 3cf4dc59b..7d3e3402f 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -6532,6 +6532,8 @@ bgp_show_summary (struct vty *vty, struct bgp *bgp, int afi, int safi)
vty_out (vty, " Idle (Admin)");
else if (CHECK_FLAG (peer->sflags, PEER_STATUS_PREFIX_OVERFLOW))
vty_out (vty, " Idle (PfxCt)");
+ else if (CHECK_FLAG (peer->sflags, PEER_STATUS_CLEARING))
+ vty_out (vty, " Idle (Clrng)");
else
vty_out (vty, " %-11s", LOOKUP(bgp_status_msg, peer->status));
}