vpn-connection: fix getting of MTU from the VPN config

This time we noticed before the angry mob.
Thank you, test suite! :)
This commit is contained in:
Lubomir Rintel 2015-12-10 17:44:17 +01:00
parent d2fab2df54
commit 2b0cacef2d

View file

@ -1292,7 +1292,7 @@ process_generic_config (NMVpnConnection *self, GVariant *dict)
}
priv->mtu = 0;
if (g_variant_lookup (dict, NM_VPN_PLUGIN_CONFIG_EXT_GATEWAY, "u", &u32))
if (g_variant_lookup (dict, NM_VPN_PLUGIN_CONFIG_MTU, "u", &u32))
priv->mtu = u32;
return TRUE;