crash in case of stateless and link down 45/5345/1
authorYaroslav Brustinov <[email protected]>
Sun, 1 Jan 2017 17:19:43 +0000 (19:19 +0200)
committerYaroslav Brustinov <[email protected]>
Sun, 1 Jan 2017 17:19:43 +0000 (19:19 +0200)
Change-Id: I3c9902808e4e3c3174ad5ed5fa81bc70f1840f86
Signed-off-by: Yaroslav Brustinov <[email protected]>
src/main_dpdk.cpp

index 4e92195..1f0f993 100644 (file)
@@ -3739,7 +3739,7 @@ int  CGlobalTRex::ixgbe_start(void){
         /* wait for ports to be stable */
         get_ex_drv()->wait_for_stable_link();
 
-        if ( !is_all_links_are_up(true) /*&& !get_is_stateless()*/ ){ // disable start with link down for now
+        if ( !is_all_links_are_up() /*&& !get_is_stateless()*/ ){ // disable start with link down for now
 
             /* temporary solution for trex-192 issue, solve the case for X710/XL710, will work for both Statless and Stateful */
             if (  get_ex_drv()->drop_packets_incase_of_linkdown() ){