mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 11:40:08 +01:00
platform: avoid nm_utils_hwaddr_ntoa() in "nm-platform.c"
This commit is contained in:
parent
5c790db8b6
commit
c61d869646
1 changed files with 3 additions and 1 deletions
|
|
@ -1756,7 +1756,9 @@ nm_platform_link_set_address(NMPlatform *self, int ifindex, gconstpointer addres
|
|||
g_return_val_if_fail(address, -NME_BUG);
|
||||
g_return_val_if_fail(length > 0, -NME_BUG);
|
||||
|
||||
_LOG3D("link: setting hardware address to %s", (mac = nm_utils_hwaddr_ntoa(address, length)));
|
||||
_LOG3D("link: setting hardware address to %s",
|
||||
_nm_utils_hwaddr_ntoa_maybe_a(address, length, &mac));
|
||||
|
||||
return klass->link_set_address(self, ifindex, address, length);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue