summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_connection.c')
-rw-r--r--bgpd/bgp_connection.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bgpd/bgp_connection.c b/bgpd/bgp_connection.c
index 24c86230..f735080a 100644
--- a/bgpd/bgp_connection.c
+++ b/bgpd/bgp_connection.c
@@ -29,6 +29,7 @@
#include "bgpd/bgp_session.h"
#include "bgpd/bgp_notification.h"
#include "bgpd/bgp_msg_read.h"
+#include "bgpd/bgp_dump.h"
#include "lib/memory.h"
#include "lib/mqueue.h"
@@ -1099,6 +1100,9 @@ bgp_connection_read_action(qps_file qf, void* file_info)
{
BGP_CONNECTION_SESSION_LOCK(connection) ; /*<<<<<<<<<<<<<<<<<<<<<<<<*/
+ if (bgp_dump_packet_flag)
+ bgp_dump_packet(connection) ;
+
connection->msg_func(connection, connection->msg_body_size) ;
BGP_CONNECTION_SESSION_UNLOCK(connection) ; /*>>>>>>>>>>>>>>>>>>>>>>>>*/