[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.
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index 3cf4dc5..7d3e340 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -6532,6 +6532,8 @@
 		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));
 	    }