mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-19 14:48:33 +02:00
manager: don't attempt to activate ipv6.method=shared connections
It would be nice if we supported IPv6 network sharing (maybe RFC 7278?), but we don't. Let's not attempt to bring it up, it would fail in stage3. https://bugzilla.redhat.com/show_bug.cgi?id=1183015
This commit is contained in:
parent
a6aacde469
commit
477033b9ef
1 changed files with 10 additions and 0 deletions
|
|
@ -3057,6 +3057,16 @@ validate_activation_request (NMManager *self,
|
|||
goto error;
|
||||
}
|
||||
|
||||
/* Not implemented yet, we want to fail early */
|
||||
if (strcmp (nm_utils_get_ip_config_method (connection, NM_TYPE_SETTING_IP6_CONFIG),
|
||||
NM_SETTING_IP6_CONFIG_METHOD_SHARED) == 0) {
|
||||
g_set_error_literal (error,
|
||||
NM_MANAGER_ERROR,
|
||||
NM_MANAGER_ERROR_CONNECTION_NOT_AVAILABLE,
|
||||
"Sharing IPv6 connections is not supported yet.");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* 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