reverting back a temp fix
authorimarom <[email protected]>
Mon, 28 Nov 2016 15:55:41 +0000 (17:55 +0200)
committerimarom <[email protected]>
Mon, 28 Nov 2016 15:55:41 +0000 (17:55 +0200)
Signed-off-by: imarom <[email protected]>
src/pre_test.cpp

index 42d1bc6..583427e 100644 (file)
@@ -137,13 +137,9 @@ bool CPretestOnePortInfo::get_mac(COneIPInfo *ip, uint8_t *mac) {
         default:
             assert(0);
         }
-        
-        if ((*it)->resolve_needed()) {
-            return false;
-        } else {
-            (*it)->get_mac(mac);
-            return true;
-        }
+
+        (*it)->get_mac(mac);
+        return true;
     }
 
     return false;