From 106a9ecd9ef7e353d867aaf00fcc8353ccf000b9 Mon Sep 17 00:00:00 2001 From: imarom Date: Wed, 2 Mar 2016 13:32:29 +0200 Subject: PAUSE JSON event was deleted accidently --- src/stateless/cp/trex_stateless_port.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/stateless/cp/trex_stateless_port.cpp b/src/stateless/cp/trex_stateless_port.cpp index 257af546..7302e05d 100644 --- a/src/stateless/cp/trex_stateless_port.cpp +++ b/src/stateless/cp/trex_stateless_port.cpp @@ -319,6 +319,10 @@ TrexStatelessPort::pause_traffic(void) { /* change state */ change_state(PORT_STATE_PAUSE); + + Json::Value data; + data["port_id"] = m_port_id; + get_stateless_obj()->get_publisher()->publish_event(TrexPublisher::EVENT_PORT_PAUSED, data); } -- cgit 1.2.3-korg