diff options
Diffstat (limited to 'bgpd/bgp_fsm.c')
-rw-r--r-- | bgpd/bgp_fsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_fsm.c b/bgpd/bgp_fsm.c index a3d7f651..bd1eb600 100644 --- a/bgpd/bgp_fsm.c +++ b/bgpd/bgp_fsm.c @@ -1531,7 +1531,7 @@ bgp_fsm_event(bgp_connection connection, bgp_fsm_event_t event) dassert( (event >= bgp_fsm_null_event) && (event <= bgp_fsm_last_event)) ; dassert( (connection->state >= bgp_fsm_first_state) - && (connection->state >= bgp_fsm_last_state) ) ; + && (connection->state <= bgp_fsm_last_state) ) ; /* Watch out for recursing through the FSM for this connection. */ ++connection->fsm_active ; |