diff options
Diffstat (limited to 'bgpd/bgp_fsm.c')
-rw-r--r-- | bgpd/bgp_fsm.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bgpd/bgp_fsm.c b/bgpd/bgp_fsm.c index a03f1b2c..701396b7 100644 --- a/bgpd/bgp_fsm.c +++ b/bgpd/bgp_fsm.c @@ -32,6 +32,7 @@ #include "bgpd/bgp_fsm.h" #include "bgpd/bgp_msg_write.h" #include "bgpd/bgp_msg_read.h" +#include "bgpd/bgp_dump.h" #include "lib/qtimers.h" #include "lib/sockunion.h" @@ -2326,9 +2327,13 @@ static void bgp_fsm_state_change(bgp_connection connection, bgp_fsm_state_t new_state) { bgp_connection sibling ; - unsigned interval ; + uint interval ; + bgp_session session = connection->session ; + if (bgp_dump_state_flag) + bgp_dump_state(connection, new_state) ; + switch (new_state) { /* Base state of connection's finite state machine -- when a session has |