summaryrefslogtreecommitdiffstats
path: root/lib/network
diff options
context:
space:
mode:
authorzezinho42 <lists.jjorge@free.fr>2020-05-23 11:06:30 +0200
committerzezinho42 <lists.jjorge@free.fr>2020-05-23 11:06:30 +0200
commit6fd3366320ab2d23953e1e1ce0ecd5c8d7e792d9 (patch)
tree4e3db79ed20c729f265bf7a11548b90bf6da992d /lib/network
parentb42841a2f116738e5e5bdbfdb147859f66cbdec6 (diff)
downloaddrakx-net-6fd3366320ab2d23953e1e1ce0ecd5c8d7e792d9.tar
drakx-net-6fd3366320ab2d23953e1e1ce0ecd5c8d7e792d9.tar.gz
drakx-net-6fd3366320ab2d23953e1e1ce0ecd5c8d7e792d9.tar.bz2
drakx-net-6fd3366320ab2d23953e1e1ce0ecd5c8d7e792d9.tar.xz
drakx-net-6fd3366320ab2d23953e1e1ce0ecd5c8d7e792d9.zip
Enable IPv6 by default
Nowadays, IPv6 connections are very common, and other OS enable it by default. Until now, we only enabled IPv6 is user asked for a tunnel. Mageia 8 will now be IPv6 ready ;-)
Diffstat (limited to 'lib/network')
-rw-r--r--lib/network/connection/ethernet.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection/ethernet.pm b/lib/network/connection/ethernet.pm
index 87c4e69..0450149 100644
--- a/lib/network/connection/ethernet.pm
+++ b/lib/network/connection/ethernet.pm
@@ -274,7 +274,7 @@ sub build_ifcfg_settings {
DHCP_HOSTNAME => $self->{address}{dhcp_hostname},
DHCP_TIMEOUT => $self->{address}{dhcp_timeout},
MII_NOT_SUPPORTED => bool2yesno(!$self->{control}{use_ifplugd}),
- IPV6INIT => bool2yesno($self->{control}{ipv6_tunnel}),
+ IPV6INIT => 'yes',
IPV6TO4INIT => bool2yesno($self->{control}{ipv6_tunnel}),
DNS1 => $self->{address}{dns1},
DNS2 => $self->{address}{dns2},