vpn-connection: try completing the connection when plugin sends config
authorLubomir Rintel <lkundrak@v3.sk>
Thu, 28 Jan 2016 07:40:45 +0000 (08:40 +0100)
committerLubomir Rintel <lkundrak@v3.sk>
Thu, 28 Jan 2016 10:50:15 +0000 (11:50 +0100)
In case there's no IP configuration we wan the connection to succeed,
not time out.

src/vpn-manager/nm-vpn-connection.c

index 3e215e5..c40ca7b 100644 (file)
@@ -1280,6 +1280,8 @@ nm_vpn_connection_config_get (NMVpnConnection *self, GVariant *dict)
        if (g_variant_lookup (dict, NM_VPN_PLUGIN_CONFIG_HAS_IP6, "b", &b))
                priv->has_ip6 = b;
        nm_exported_object_clear_and_unexport (&priv->ip6_config);
+
+       nm_vpn_connection_config_maybe_complete (self, TRUE);
 }
 
 guint32