summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main_dpdk.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main_dpdk.cpp b/src/main_dpdk.cpp
index 3dd020ae..29966932 100644
--- a/src/main_dpdk.cpp
+++ b/src/main_dpdk.cpp
@@ -4786,8 +4786,8 @@ int main_test(int argc , char * argv[]){
}
/* disable WD if needed */
- //CGlobalInfo::m_options.preview.getWDDisable()?false:true
- TrexWatchDog::getInstance().init(true); /* always disable - due to trex-211 */
+ bool wd_enable = (CGlobalInfo::m_options.preview.getWDDisable() ? false : true);
+ TrexWatchDog::getInstance().init(wd_enable);
g_trex.m_sl_rx_running = false;
if ( get_is_stateless() ) {