[bgpd] Start off FSM again once clearing finishes.
2006-03-03 Paul Jakma <paul.jakma@sun.com>
* bgp_route.c: (bgp_clear_node_complete) Doh. When clearing
is complete we need to kick off FSM again.
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index a73974f..b49bea9 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -2514,6 +2514,9 @@
UNSET_FLAG (peer->sflags, PEER_STATUS_CLEARING);
peer_unlock (peer); /* bgp_clear_node_complete */
+
+ /* Tickle FSM to start moving again */
+ BGP_EVENT_ADD (peer, BGP_Start);
}
static void