Skip to content

Commit

Permalink
Fixed the length of the basic Network Port object MAC address propert…
Browse files Browse the repository at this point in the history
  • Loading branch information
skarg committed Aug 22, 2024
1 parent 9662a76 commit ab5481f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bacnet/basic/object/netport.c
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,7 @@ bool Network_Port_MAC_Address(
if (mac_address) {
mac_len = Network_Port_MAC_Address_Value(
object_instance, mac_address->value, sizeof(mac_address->value));
mac_address->length = mac_len;
}

return mac_len > 0;
Expand Down

0 comments on commit ab5481f

Please sign in to comment.