diff options
author | Hanoh Haim <hhaim@cisco.com> | 2015-11-25 17:20:44 +0200 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2015-11-25 17:20:44 +0200 |
commit | 12a19244693cacbd77ca0a8e43f382a10f773f91 (patch) | |
tree | 81ce9ffaba6ee2133cd14df62ecd62646c834ae7 /src/stateless | |
parent | b6ec2066653319b60385de1d4117165eb88890a1 (diff) |
move to real idle in case of stop
Diffstat (limited to 'src/stateless')
-rw-r--r-- | src/stateless/dp/trex_stateless_dp_core.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stateless/dp/trex_stateless_dp_core.cpp b/src/stateless/dp/trex_stateless_dp_core.cpp index 9b4a6ad9..4e429c8f 100644 --- a/src/stateless/dp/trex_stateless_dp_core.cpp +++ b/src/stateless/dp/trex_stateless_dp_core.cpp @@ -309,6 +309,7 @@ TrexStatelessDpCore::start_scheduler() { /* bail out in case of terminate */ if (m_state != TrexStatelessDpCore::STATE_TERMINATE) { m_core->m_node_gen.close_file(m_core); + m_state = STATE_IDLE; /* we exit from all ports and we have nothing to do, we move to IDLE state */ } } |