diff options
author | 2015-11-05 18:08:38 +0200 | |
---|---|---|
committer | 2015-11-05 18:08:38 +0200 | |
commit | c411e0ab9b543aba0fa99f6b0430e499c908be2f (patch) | |
tree | 919a7502d5deb9f066667606bdd4f6d3052df976 /src | |
parent | 64198d95efc9c60de0f9a5cef1b24a67e0744d4b (diff) |
fix normal trex
Diffstat (limited to 'src')
-rwxr-xr-x | src/main_dpdk.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main_dpdk.cpp b/src/main_dpdk.cpp index 9da89121..648c3b1a 100755 --- a/src/main_dpdk.cpp +++ b/src/main_dpdk.cpp @@ -3958,7 +3958,9 @@ int CGlobalTRex::run_in_master(){ std::string json; bool was_stopped=false; - m_trex_stateless->launch_control_plane(); + if ( get_is_stateless() ) { + m_trex_stateless->launch_control_plane(); + } while ( true ) { |