about summary refs log tree commit diff
path: root/src/devices/nm-device-vlan.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2017-07-12 17:58:09 +0200
committerMichael Biebl <biebl@debian.org>2017-07-12 17:58:09 +0200
commit1c106aa806930113c6773992fa4ddce13e295ead (patch)
tree2242b717e4060d33794b94d9c45f81e4007e3a3f /src/devices/nm-device-vlan.c
parenteb2473a843f46fae54f981c822fcace18d8f6fdf (diff)
parentb9f0451fa35393ceedf6d9d20b78c43578ebea5d (diff)
Updated version 1.8.2 from 'upstream/1.8.2'
with Debian dir 0d04ce142632bf08356d8d906289b6fc2de9e7c1
Diffstat (limited to 'src/devices/nm-device-vlan.c')
-rw-r--r--src/devices/nm-device-vlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device-vlan.c b/src/devices/nm-device-vlan.c
index 06db6446..a74da8f2 100644
--- a/src/devices/nm-device-vlan.c
+++ b/src/devices/nm-device-vlan.c
@@ -586,7 +586,7 @@ get_configured_mtu (NMDevice *self, gboolean *out_is_user_config)
 	if (ifindex > 0)
 		mtu = nm_platform_link_get_mtu (nm_device_get_platform (NM_DEVICE (self)), ifindex);
 
-	return mtu ?: NM_DEVICE_DEFAULT_MTU_WIRED;
+	return mtu;
 }
 
 /*****************************************************************************/