mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-06 10:30:39 +01:00
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:
parent
d2fab2df54
commit
2b0cacef2d
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue