summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-26 09:20:38 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-26 09:20:38 +0000
commit92f63468b5e435180f85c2cd9e8a227a072da9df (patch)
tree660dc75d356532d331dc4062d9336d50cf783b9d /perl-install
parent6c9c2062d7fe284e16e1c89088f9567d8b7f481b (diff)
downloaddrakx-92f63468b5e435180f85c2cd9e8a227a072da9df.tar
drakx-92f63468b5e435180f85c2cd9e8a227a072da9df.tar.gz
drakx-92f63468b5e435180f85c2cd9e8a227a072da9df.tar.bz2
drakx-92f63468b5e435180f85c2cd9e8a227a072da9df.tar.xz
drakx-92f63468b5e435180f85c2cd9e8a227a072da9df.zip
adsl devices need network restart if they're *not* in the adsl devices list
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/netconnect.pm2
1 files changed, 1 insertions, 1 deletions
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";