summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Trudel-Lapierre <mathieu.tl@gmail.com>2011-07-20 23:56:48 -0500
committerDan Williams <dcbw@redhat.com>2011-07-20 23:56:48 -0500
commit36db194ae95e35cc7b8f431ab984780dea24656d (patch)
treecfe48eace2ab28df96309b4e445b1282cc763fb1
parent9cdc5021ab0b94dbf1a0d1994bc2e5ba4049caf9 (diff)
libnm-util: default to allowing IPv6 connections to fail
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.
-rw-r--r--libnm-util/nm-setting-ip6-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-util/nm-setting-ip6-config.c b/libnm-util/nm-setting-ip6-config.c
index e911639cd9..4dc8f46cef 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));
}