diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2016-01-28 08:41:36 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2016-01-28 11:50:15 +0100 |
commit | 061edeaea67387c6b91d1bd5345e322315b4726f (patch) | |
tree | bcfc2f98cb5b6192272181452c2e9407cc62ed8c /libnm | |
parent | 8e3a5f6d3a6544fa2a83808aca69305836f19858 (diff) | |
download | NetworkManager-061edeaea67387c6b91d1bd5345e322315b4726f.tar.gz |
vpn-service-plugin: allow VPNs with no IP configuration
Perfectly fine for ethernet-bridged networks (openvpn with tap devices).
Diffstat (limited to 'libnm')
-rw-r--r-- | libnm/nm-vpn-service-plugin.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libnm/nm-vpn-service-plugin.c b/libnm/nm-vpn-service-plugin.c index ae5af3239f..0de3805174 100644 --- a/libnm/nm-vpn-service-plugin.c +++ b/libnm/nm-vpn-service-plugin.c @@ -315,8 +315,6 @@ nm_vpn_service_plugin_set_config (NMVpnServicePlugin *plugin, (void) g_variant_lookup (config, NM_VPN_PLUGIN_CONFIG_HAS_IP4, "b", &priv->has_ip4); (void) g_variant_lookup (config, NM_VPN_PLUGIN_CONFIG_HAS_IP6, "b", &priv->has_ip6); - g_warn_if_fail (priv->has_ip4 || priv->has_ip6); - /* Record the items that need to also be inserted into the * ip4config, for compatibility with older daemons. */ |