1
0
mirror of https://github.com/stargieg/bacnet-stack synced 2025-10-19 23:25:23 +08:00

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

This commit is contained in:
Steve Karg 2017-04-10 16:43:31 +02:00 committed by Patrick Grimm
parent d4767d3e61
commit 28a17e0b34

View File

@ -158,7 +158,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;
}
}
@ -192,7 +192,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;
}
}