[network-manager-applet/dcbw/wwan-ipv6-default: 2/2] applet: default to ipv6.method=auto for WWAN connections



commit 10da4af41a5621f01ec0427964d9f864c3283ae7
Author: Dan Williams <dcbw redhat com>
Date:   Mon Jun 29 10:49:23 2015 -0500

    applet: default to ipv6.method=auto for WWAN connections
    
    NM has fallback logic to ensure that even if IPv6 gets tried and fails,
    that IPv4 gets used instead.  So it should be safe to default to
    automatic IPv6 support for new WWAN connections now, and bugs should
    get fixed instead of papered over.

 src/mobile-helpers.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/mobile-helpers.c b/src/mobile-helpers.c
index fc725b9..867eefc 100644
--- a/src/mobile-helpers.c
+++ b/src/mobile-helpers.c
@@ -193,6 +193,10 @@ mobile_wizard_done (NMAMobileWizard *wizard,
                } else
                        g_assert_not_reached ();
 
+               /* Default to IPv4 & IPv6 'automatic' addressing */
+               nm_connection_add_setting (connection, nm_setting_ip4_config_new ());
+               nm_connection_add_setting (connection, nm_setting_ip6_config_new ());
+
                nm_connection_add_setting (connection, nm_setting_ppp_new ());
 
                setting = nm_setting_connection_new ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]