summaryrefslogtreecommitdiffstats
path: root/src/stateless/messaging/trex_stateless_messaging.cpp
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2017-01-25 13:54:51 +0200
committerimarom <imarom@cisco.com>2017-01-25 13:54:51 +0200
commit3689edf311778c8cb921db61f293db6cd43a9b14 (patch)
treecf683e96d5de5cd1218060d6630f97c4052e1b62 /src/stateless/messaging/trex_stateless_messaging.cpp
parent19df06349d311377ca1ef10f91ef1f786b41418b (diff)
capture - personal code review
Signed-off-by: imarom <imarom@cisco.com>
Diffstat (limited to 'src/stateless/messaging/trex_stateless_messaging.cpp')
-rw-r--r--src/stateless/messaging/trex_stateless_messaging.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stateless/messaging/trex_stateless_messaging.cpp b/src/stateless/messaging/trex_stateless_messaging.cpp
index 21fe7a13..f89ca343 100644
--- a/src/stateless/messaging/trex_stateless_messaging.cpp
+++ b/src/stateless/messaging/trex_stateless_messaging.cpp
@@ -266,7 +266,7 @@ TrexStatelessRxCaptureStart::handle(CRxCoreStateless *rx_core) {
TrexCaptureRCStart start_rc;
- TrexStatelessCaptureMngr::getInstance().start(m_filter, m_limit, start_rc);
+ TrexStatelessCaptureMngr::getInstance().start(m_filter, m_limit, m_mode, start_rc);
/* mark as done */
m_reply.set_reply(start_rc);
@@ -305,7 +305,7 @@ TrexStatelessRxCaptureStatus::handle(CRxCoreStateless *rx_core) {
TrexCaptureRCStatus status_rc;
- status_rc.set_status(TrexStatelessCaptureMngr::getInstance().to_json());
+ status_rc.set_rc(TrexStatelessCaptureMngr::getInstance().to_json());
/* mark as done */
m_reply.set_reply(status_rc);