Fixed VMAC for routed address match on compare. Thank you, Arne Nickel!

This commit is contained in:
skarg
2017-04-10 14:43:31 +00:00
parent 9b2d696dda
commit c9742a594c
+2 -2
View File
@@ -154,7 +154,7 @@ bool VMAC_Different(
mac_len = (unsigned int)vmac1->mac_len;
}
for (i = 0; i < mac_len; i++) {
if (vmac1->mac[i] != vmac1->mac[i]) {
if (vmac1->mac[i] != vmac2->mac[i]) {
status = true;
}
}
@@ -188,7 +188,7 @@ bool VMAC_Match(
mac_len = (unsigned int)vmac1->mac_len;
}
for (i = 0; i < mac_len; i++) {
if (vmac1->mac[i] != vmac1->mac[i]) {
if (vmac1->mac[i] != vmac2->mac[i]) {
status = false;
}
}