summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/devices/nm-device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/devices/nm-device.c b/src/core/devices/nm-device.c
index a00a1aa2b5..a6c66a96d3 100644
--- a/src/core/devices/nm-device.c
+++ b/src/core/devices/nm-device.c
@@ -7171,6 +7171,9 @@ nm_device_update_from_platform_link(NMDevice *self, const NMPlatformLink *plink)
ifindex_changed = _set_ifindex(self, plink ? plink->ifindex : 0, FALSE);
+ nm_device_update_hw_address(self);
+ nm_device_update_permanent_hw_address(self, FALSE);
+
if (ifindex_changed)
NM_DEVICE_GET_CLASS(self)->link_changed(self, plink);