From 3689edf311778c8cb921db61f293db6cd43a9b14 Mon Sep 17 00:00:00 2001 From: imarom Date: Wed, 25 Jan 2017 13:54:51 +0200 Subject: capture - personal code review Signed-off-by: imarom --- src/stateless/messaging/trex_stateless_messaging.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/stateless/messaging/trex_stateless_messaging.cpp') 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); -- cgit 1.2.3-korg