From ecb93850c1f222369532a0a8beaecc129ee767f0 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Tue, 21 Apr 2015 17:56:21 +0200 Subject: [PATCH] device: set MTU on IP interface Fixes: 7ba2a058f201ac237e2c5ddf6f513f8c306f314d (cherry picked from commit 0a04be41d4c08adb4eb5349201ca29562d061b89) --- src/devices/nm-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;