diff options
author | 2016-06-20 13:48:27 +0300 | |
---|---|---|
committer | 2016-06-20 13:49:40 +0300 | |
commit | 88486da4a095bd7fa7094d4bd9ab54eeafd24a26 (patch) | |
tree | 4d5b446f5abc83168bdd01c423415806cd1211e3 /src | |
parent | f1da3b2bf6817a2ddd8abe8546108b43a12d1411 (diff) |
fix: --no-watchdog did not work
Diffstat (limited to 'src')
-rw-r--r-- | src/main_dpdk.cpp | 4 |
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() ) { |