summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@sun.com>2006-03-06 18:06:53 +0000
committerPaul Jakma <paul.jakma@sun.com>2006-03-06 18:06:53 +0000
commit3e0c78ef8a8fb80f52a36dab99d76a5913281e4c (patch)
treee09c41768a283796fd9def9c65d5500bbe712a69
parent5a54df971e7da8aacddbf54afa33bd81b6c01f13 (diff)
[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.
-rw-r--r--bgpd/ChangeLog5
-rw-r--r--bgpd/bgp_route.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/bgpd/ChangeLog b/bgpd/ChangeLog
index b10250aa..0c8c9d6e 100644
--- a/bgpd/ChangeLog
+++ b/bgpd/ChangeLog
@@ -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.
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index a73974ff..b49bea98 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -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