summaryrefslogtreecommitdiff
path: root/src/nm-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-manager.c')
-rw-r--r--src/nm-manager.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nm-manager.c b/src/nm-manager.c
index ac89dafbcb..7fef779ccc 100644
--- a/src/nm-manager.c
+++ b/src/nm-manager.c
@@ -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))