diff options
author | Hanoh Haim <hhaim@cisco.com> | 2016-06-20 13:50:27 +0300 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2016-06-20 13:50:27 +0300 |
commit | e356e9e5b70a5bdfefeaf10a09f45974e3969682 (patch) | |
tree | f671a2a994ef930cc12bd5dcf0a1282bfd1a762d /src/main_dpdk.cpp | |
parent | 7b13e5e5a6ec2dd71f551e61b846b481d5c58205 (diff) | |
parent | 88486da4a095bd7fa7094d4bd9ab54eeafd24a26 (diff) |
Merge minor
Diffstat (limited to 'src/main_dpdk.cpp')
-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 8ae44b02..dcef2f38 100644 --- a/src/main_dpdk.cpp +++ b/src/main_dpdk.cpp @@ -4777,8 +4777,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() ) { |