diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-08-23 10:50:40 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-08-23 10:50:40 +0000 |
commit | b7bc0004829bec37c3ebf07267acd4bc15ed0d89 (patch) | |
tree | c463bb99cfe89e630540355604f20d2b3f06e24e | |
parent | b67ef1761a39c3195d39965bc4266ad3e0eb291b (diff) | |
download | drakx-b7bc0004829bec37c3ebf07267acd4bc15ed0d89.tar drakx-b7bc0004829bec37c3ebf07267acd4bc15ed0d89.tar.gz drakx-b7bc0004829bec37c3ebf07267acd4bc15ed0d89.tar.bz2 drakx-b7bc0004829bec37c3ebf07267acd4bc15ed0d89.tar.xz drakx-b7bc0004829bec37c3ebf07267acd4bc15ed0d89.zip |
fix network restart condition for 6to4
-rw-r--r-- | perl-install/network/netconnect.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 289aa1a57..d43371c58 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -946,7 +946,7 @@ notation (for example, 1.2.3.4).")), #- FIXME: special case for sagem where $ethntf->{DEVICE} is the result of a command #- we can't always use $ntf_name because of some USB DSL modems $net->{net_interface} = $ntf_name eq "sagem" ? "sagem" : $ethntf->{DEVICE}; - $need_network_restart = $ipv6_tunnel xor text2bool($ethntf->{IPV6TO4INIT}); + $need_network_restart = $ipv6_tunnel ^ text2bool($ethntf->{IPV6TO4INIT}); if ($ipv6_tunnel) { $net->{network}{NETWORKING_IPV6} = "yes"; $net->{network}{IPV6_DEFAULTDEV} = "tun6to4"; |