From b7bc0004829bec37c3ebf07267acd4bc15ed0d89 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 23 Aug 2005 10:50:40 +0000 Subject: fix network restart condition for 6to4 --- perl-install/network/netconnect.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- cgit v1.2.1