summaryrefslogtreecommitdiffstats
path: root/src/stateless
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2016-05-18 18:20:36 +0300
committerIdo Barnea <ibarnea@cisco.com>2016-05-18 19:23:59 +0300
commit7e92d155c0d051711aeac1d092fe0a6a55b9104d (patch)
tree942c21298cac67de9315476f5126097a2d28f090 /src/stateless
parent946e5c48849b8dfae6df74925bed9dcf6f7ae452 (diff)
equal json bug fix
Diffstat (limited to 'src/stateless')
-rw-r--r--src/stateless/rx/trex_stateless_rx_core.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stateless/rx/trex_stateless_rx_core.cpp b/src/stateless/rx/trex_stateless_rx_core.cpp
index 7239626e..5dac4b4a 100644
--- a/src/stateless/rx/trex_stateless_rx_core.cpp
+++ b/src/stateless/rx/trex_stateless_rx_core.cpp
@@ -344,6 +344,7 @@ int CRxCoreStateless::get_rfc2544_info(rfc2544_info_t *rfc2544_info, int min, in
, m_rfc2544[hw_id].seq_err_events_too_low);
rfc2544_info[hw_id - min].set_jitter(m_rfc2544[hw_id].jitter.get_jitter());
m_rfc2544[hw_id].latency.update();
+ json_str = "";
m_rfc2544[hw_id].latency.dump_json("", json_str);
// This is a hack. We need to make the dump_json return json object.
reader.parse( json_str.c_str(), json);