[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.
This commit is contained in:
Paul Jakma 2006-03-06 18:06:53 +00:00
parent 5a54df971e
commit 3e0c78ef8a
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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.
2006-02-21 Paul Jakma <paul.jakma@sun.com>
* bgpd.h: move the clear_node_queue to be peer specific.

View File

@ -2514,6 +2514,9 @@ bgp_clear_node_complete (struct work_queue *wq)
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