manager: allow ipv6.medhod=shared connections

This commit is contained in:
Lubomir Rintel 2016-11-01 13:43:07 +01:00
parent bda1e880de
commit d74e5e45e5

View file

@ -3404,18 +3404,6 @@ validate_activation_request (NMManager *self,
goto error;
}
/* Not implemented yet, we want to fail early */
if ( nm_connection_get_setting_connection (connection)
&& nm_connection_get_setting_ip6_config (connection)
&& !strcmp (nm_utils_get_ip_config_method (connection, NM_TYPE_SETTING_IP6_CONFIG),
NM_SETTING_IP6_CONFIG_METHOD_SHARED)) {
g_set_error_literal (error,
NM_MANAGER_ERROR,
NM_MANAGER_ERROR_CONNECTION_NOT_AVAILABLE,
"Sharing IPv6 connections is not supported yet.");
goto error;
}
/* Check whether it's a VPN or not */
if ( nm_connection_get_setting_vpn (connection)
|| nm_connection_is_type (connection, NM_SETTING_VPN_SETTING_NAME))