diff options
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 ) { |