summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-11-24 18:34:39 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-11-24 18:34:39 +0000
commit76ccdfa6c7a4892f737f11292d5ccd7249a6f766 (patch)
tree616fdbe72ee83c76d7b345e5c844ae2e95eddd4c /perl-install/network
parent092b006b0408ed50f3673cdc43b4b22a9382d6bd (diff)
downloaddrakx-76ccdfa6c7a4892f737f11292d5ccd7249a6f766.tar
drakx-76ccdfa6c7a4892f737f11292d5ccd7249a6f766.tar.gz
drakx-76ccdfa6c7a4892f737f11292d5ccd7249a6f766.tar.bz2
drakx-76ccdfa6c7a4892f737f11292d5ccd7249a6f766.tar.xz
drakx-76ccdfa6c7a4892f737f11292d5ccd7249a6f766.zip
(configure) fix adsl connection class due to type being now translated
Diffstat (limited to 'perl-install/network')
-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 62ed99d25..5cf1423b8 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";