Fixed the length of the basic Network Port object MAC address property. (#741)
This commit is contained in:
@@ -728,6 +728,7 @@ bool Network_Port_MAC_Address(
|
|||||||
if (mac_address) {
|
if (mac_address) {
|
||||||
mac_len = Network_Port_MAC_Address_Value(
|
mac_len = Network_Port_MAC_Address_Value(
|
||||||
object_instance, mac_address->value, sizeof(mac_address->value));
|
object_instance, mac_address->value, sizeof(mac_address->value));
|
||||||
|
mac_address->length = mac_len;
|
||||||
}
|
}
|
||||||
|
|
||||||
return mac_len > 0;
|
return mac_len > 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user