summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2015-04-27 08:58:02 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2015-04-27 08:58:02 +0200
commita30ba73411672e476b9bdf71bb7d5c3f66d0f9cc (patch)
tree8330340bae4268f20b1ba6b973cca803817b6eb3
parent1fc72565e54815e58d127086cc24d3c8fde38884 (diff)
downloadNetworkManager-a30ba73411672e476b9bdf71bb7d5c3f66d0f9cc.tar.gz
fixup! ipv4ll: use internal implementation
-rw-r--r--src/devices/nm-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index a568c0fff1..6b751a9960 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -2813,7 +2813,7 @@ ipv4ll_start (NMDevice *self, NMDeviceStateReason *reason)
}
ifindex = nm_device_get_ip_ifindex (self);
- mac = nm_platform_link_get_address (ifindex, &mac_len);
+ mac = nm_platform_link_get_address (NM_PLATFORM_GET, ifindex, &mac_len);
if (!mac || mac_len != ETH_ALEN) {
_LOGE (LOGD_AUTOIP4, "IPv4LL: can't retrieve hardware address");
goto fail;