summaryrefslogtreecommitdiffstats
path: root/src/stateless/dp/trex_stateless_dp_core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/stateless/dp/trex_stateless_dp_core.cpp')
-rw-r--r--src/stateless/dp/trex_stateless_dp_core.cpp1
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 */
}
}