diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 9f8c488a8f..223965de96 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -4470,7 +4470,7 @@ static void nm_device_set_mtu (NMDevice *self, guint32 mtu) { NMDevicePrivate *priv = NM_DEVICE_GET_PRIVATE (self); - int ifindex = nm_device_get_ifindex (self); + int ifindex = nm_device_get_ip_ifindex (self); if (mtu) priv->mtu = mtu;