summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-11-24 18:38:50 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-11-24 18:38:50 +0000
commiteb54e4ecfb37eb663f7718d5d615a8f944997b41 (patch)
treedb69c17fb07c9a02014486237fed5a61a4fde91a
parent1341248eab29a8f1c3c36c8f066b1399235df65e (diff)
downloaddrakx-eb54e4ecfb37eb663f7718d5d615a8f944997b41.tar
drakx-eb54e4ecfb37eb663f7718d5d615a8f944997b41.tar.gz
drakx-eb54e4ecfb37eb663f7718d5d615a8f944997b41.tar.bz2
drakx-eb54e4ecfb37eb663f7718d5d615a8f944997b41.tar.xz
drakx-eb54e4ecfb37eb663f7718d5d615a8f944997b41.zip
(configure) forward fix adsl connection class due to type being now translated
-rw-r--r--perl-install/network/adsl.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index 47bb604cb..fb9097469 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -31,7 +31,7 @@ If you don't know, choose 'use pppoe'"),
[ sort values %l ],
$l{ find { $netc->{autodetect}{adsl}{$_} } keys %l }
) or return;
- $type =~ s/use //;
+ $type = find { $l{$_} eq $type } keys %l;
if ($type eq 'pppoe') {
$in->do_pkgs->install("rp-$type");
$netcnx->{type} = "adsl_$type";