New connections created by hand by a user (e.g. with the connection editor's Add button) should have IPv6 set to Automatic by default. --- src/connection-editor/page-ip6.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/connection-editor/page-ip6.c b/src/connection-editor/page-ip6.c index 70c6f09..0d6831a 100644 --- a/src/connection-editor/page-ip6.c +++ b/src/connection-editor/page-ip6.c @@ -331,7 +331,7 @@ populate_ui (CEPageIP6 *self) NMSettingIP6Config *setting = priv->setting; GtkListStore *store; GtkTreeIter model_iter; - int method = IP6_METHOD_IGNORE; + int method = IP6_METHOD_AUTO; GString *string = NULL; SetMethodInfo info; const char *str_method; @@ -341,6 +341,8 @@ populate_ui (CEPageIP6 *self) gtk_combo_box_set_active (priv->method, 0); str_method = nm_setting_ip6_config_get_method (setting); if (str_method) { + if (!strcmp (str_method, NM_SETTING_IP6_CONFIG_METHOD_IGNORE)) + method = IP6_METHOD_IGNORE; if (!strcmp (str_method, NM_SETTING_IP6_CONFIG_METHOD_AUTO)) method = IP6_METHOD_AUTO; if (!strcmp (str_method, NM_SETTING_IP6_CONFIG_METHOD_DHCP)) -- 1.7.5.4 -- Mathieu Trudel-Lapierre <mathieu...@gmail.com> Freenode: cyphermox, Jabber: mathieu...@gmail.com 4096R/EE018C93 1967 8F7D 03A1 8F38 732E FF82 C126 33E1 EE01 8C93 _______________________________________________ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list