summaryrefslogtreecommitdiff
path: root/src/devices/nm-device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/nm-device.c')
-rw-r--r--src/devices/nm-device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index 70a4202c36..88cebe4886 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -4308,9 +4308,9 @@ ipv4ll_start (NMDevice *self, NMDeviceStateReason *reason)
goto fail;
}
- r = sd_ipv4ll_set_index (priv->ipv4ll, ifindex);
+ r = sd_ipv4ll_set_ifindex (priv->ipv4ll, ifindex);
if (r < 0) {
- _LOGE (LOGD_AUTOIP4, "IPv4LL: set_index() failed with error %d", r);
+ _LOGE (LOGD_AUTOIP4, "IPv4LL: set_ifindex() failed with error %d", r);
goto fail;
}