mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-05 06:50:17 +01:00
manager: allow ipv6.medhod=shared connections
This commit is contained in:
parent
bda1e880de
commit
d74e5e45e5
1 changed files with 0 additions and 12 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue