diff options
author | Chris Hall <chris.hall@highwayman.com> | 2011-09-02 00:53:59 +0100 |
---|---|---|
committer | Chris Hall <chris.hall@highwayman.com> | 2011-09-02 00:53:59 +0100 |
commit | 3690074a486cfada568975e287d9cbb9e687501f (patch) | |
tree | f6394c1ab1ca8381e9a77acca84f03dc701d10b2 /bgpd/bgp_connection.c | |
parent | 3f515315d5b17e432453eef67d7ac9e27bc39461 (diff) | |
download | quagga-3690074a486cfada568975e287d9cbb9e687501f.tar.bz2 quagga-3690074a486cfada568975e287d9cbb9e687501f.tar.xz |
Merging of euro_ix branch into pipework.
Bring in fixes for bgp dumping with pthreaded BGP Engine.
Bring in new "show nexus xxx" command.
Fix removal of '~' prompt.
Diffstat (limited to 'bgpd/bgp_connection.c')
-rw-r--r-- | bgpd/bgp_connection.c | 4 |
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) ; /*>>>>>>>>>>>>>>>>>>>>>>>>*/ |