From 92f63468b5e435180f85c2cd9e8a227a072da9df Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 26 Aug 2004 09:20:38 +0000 Subject: adsl devices need network restart if they're *not* in the adsl devices list --- perl-install/network/netconnect.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/network') diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index e86ef57d3..cf5daabf6 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -213,7 +213,7 @@ sub real_main { }; my $handle_multiple_cnx = sub { - $need_restart_network = member($netcnx->{type}, qw(cable lan)) || $netcnx->{type} eq 'adsl' && $adsl_devices{$ntf_name}; + $need_restart_network = member($netcnx->{type}, qw(cable lan)) || $netcnx->{type} eq 'adsl' && !$adsl_devices{$ntf_name}; my $nb = keys %{$netc->{internet_cnx}}; if (1 < $nb) { return "multiple_internet_cnx"; -- cgit v1.2.1