summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-22 17:53:47 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-22 17:53:47 +0000
commit59fec0908e16d047ed48c93793cd47fbda0d43e8 (patch)
treefb2401e099237671894aca11fb847798319b978a /perl-install
parenta442f12dca9663a4e5836d30b26c6f19065f0c48 (diff)
downloaddrakx-59fec0908e16d047ed48c93793cd47fbda0d43e8.tar
drakx-59fec0908e16d047ed48c93793cd47fbda0d43e8.tar.gz
drakx-59fec0908e16d047ed48c93793cd47fbda0d43e8.tar.bz2
drakx-59fec0908e16d047ed48c93793cd47fbda0d43e8.tar.xz
drakx-59fec0908e16d047ed48c93793cd47fbda0d43e8.zip
when configuring an ethernet card, skip the protocol choice step for any cnx
type different than lan (eg: for cable and adsl connections)
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 edad4330e..359ed8c01 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -640,7 +640,7 @@ You can find a driver on http://eciadsl.flashtux.org/"),
delete $ethntf->{$_} foreach keys %$ethntf;
add2hash($ethntf, $intf->{$ntf_name});
$net_device = $netc->{NET_DEVICE};
- return "lan_intf" if $type eq 'cable';
+ return "lan_intf" if $type ne 'lan';
$::isInstall && $net_device eq $ethntf->{DEVICE} ? 'lan_alrd_cfg' : 'lan_protocol';
},
},