diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2015-04-21 17:56:21 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2015-05-13 13:29:38 +0200 |
commit | 0a04be41d4c08adb4eb5349201ca29562d061b89 (patch) | |
tree | 8ef0e01c87b7394431397c23ba0409e19366047b | |
parent | 78c1849b536f86b97dd8591156492999f9260511 (diff) | |
download | NetworkManager-0a04be41d4c08adb4eb5349201ca29562d061b89.tar.gz |
device: set MTU on IP interface
Fixes: 7ba2a058f201ac237e2c5ddf6f513f8c306f314d
-rw-r--r-- | src/devices/nm-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 58898a4b7b..52ba10eef0 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -4218,7 +4218,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; |