[PATCH] libnm-util: default to allowing IPv6 connections to fail
- From: Mathieu Trudel-Lapierre <mathieu tl gmail com>
- To: ML NetworkManager <networkmanager-list gnome org>
- Subject: [PATCH] libnm-util: default to allowing IPv6 connections to fail
- Date: Tue, 19 Jul 2011 15:04:55 -0400
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 <mathieu tl gmail com>
Freenode: cyphermox, Jabber: mathieu tl gmail com
4096R/EE018C93 1967 8F7D 03A1 8F38 732E FF82 C126 33E1 EE01 8C93
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]