Code Review
/
trex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
25be508
)
reverting back a temp fix
author
imarom
<
[email protected]
>
Mon, 28 Nov 2016 15:55:41 +0000
(17:55 +0200)
committer
imarom
<
[email protected]
>
Mon, 28 Nov 2016 15:55:41 +0000
(17:55 +0200)
Signed-off-by: imarom <
[email protected]
>
src/pre_test.cpp
patch
|
blob
|
history
diff --git
a/src/pre_test.cpp
b/src/pre_test.cpp
index
42d1bc6
..
583427e
100644
(file)
--- a/
src/pre_test.cpp
+++ b/
src/pre_test.cpp
@@
-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;