summaryrefslogtreecommitdiffstats
path: root/src/sim
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-08-16 10:42:31 +0300
committerimarom <imarom@cisco.com>2016-08-16 10:47:54 +0300
commitc5a9a3c77658f04e9dac066443e3bf6aa7d32b67 (patch)
tree79c4ec77d4c5a1a40295f385cdb068b5991a8dea /src/sim
parent7dbdcb10b440eb7c84aacec463da352a1ea6f7d4 (diff)
simulator breakage fix
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/trex_sim_stateless.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sim/trex_sim_stateless.cpp b/src/sim/trex_sim_stateless.cpp
index 20041c2b..6d470704 100644
--- a/src/sim/trex_sim_stateless.cpp
+++ b/src/sim/trex_sim_stateless.cpp
@@ -246,6 +246,7 @@ void
SimStateless::prepare_dataplane() {
CGlobalInfo::m_options.m_expected_portd = m_port_count;
+ CGlobalInfo::m_options.m_run_mode = CParserOption::RUN_MODE_INTERACTIVE;
assert(CMsgIns::Ins()->Create(m_dp_core_count));
m_fl.Create();