Allow IPv6 connections to fail by changing the default value of the may-fail
property for ipv6 settings to TRUE.

This makes sure connections created manually using nm-connection-editor
will default to having the "Require ..." checkbox unchecked; in other words,
IPv6 timing out will still allow the interface to be configured if
IPv4 succeeds.

===
diff --git a/libnm-util/nm-setting-ip6-config.c
b/libnm-util/nm-setting-ip6-config.c
index e911639..4dc8f46 100644
--- a/libnm-util/nm-setting-ip6-config.c
+++ b/libnm-util/nm-setting-ip6-config.c
@@ -1056,7 +1056,7 @@ nm_setting_ip6_config_class_init
(NMSettingIP6ConfigClass *setting_class)
                                                   "this property to
TRUE allows the overall network "
                                                   "configuration to
succeed if IPv6 configuration "
                                                   "fails but IPv4
configuration completes successfully.",
-                                                  FALSE,
+                                                  TRUE,
                                                   G_PARAM_READWRITE |
G_PARAM_CONSTRUCT | NM_SETTING_PARAM_SERIALIZE));
 }

===

--
Mathieu Trudel-Lapierre <[email protected]>
Freenode: cyphermox, Jabber: [email protected]
4096R/EE018C93 1967 8F7D 03A1 8F38 732E  FF82 C126 33E1 EE01 8C93
_______________________________________________
networkmanager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to