summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2015-12-14 15:29:10 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2015-12-14 15:29:10 +0200
commit1a0e24fac5ca0f4f5e5db42b7e60bd1c82b12c38 (patch)
tree0c8d3d951eb32e70809343fdd72871939e8b8bae /src
parentbae48d6cf8dd59158ffcb488391af8a96fc2e037 (diff)
publish rx_check counters via ZMQ even with iom=0
Diffstat (limited to 'src')
-rwxr-xr-xsrc/main_dpdk.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main_dpdk.cpp b/src/main_dpdk.cpp
index 15d7451e..441df5ce 100755
--- a/src/main_dpdk.cpp
+++ b/src/main_dpdk.cpp
@@ -4043,13 +4043,15 @@ int CGlobalTRex::run_in_master(){
break;
}
- m_mg.rx_check_dump_json(json );
- m_zmq_publisher.publish_json(json);
-
}/* ex checked */
}
+ if ( get_is_rx_check_mode() ) {
+ m_mg.rx_check_dump_json(json );
+ m_zmq_publisher.publish_json(json);
+ }
+
/* backward compatible */
m_mg.dump_json(json );
m_zmq_publisher.publish_json(json);