summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-20 11:05:08 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-20 11:05:08 +0000
commit3325411d9d34ba4e38dc8e03d31fc19f0913a205 (patch)
tree1f5b410fc009e369f1ce575c3cb154b3c091d9ef /perl-install/network/netconnect.pm
parent216e0f1f3fddde216f05a336ece3bad660067278 (diff)
downloaddrakx-backup-do-not-use-3325411d9d34ba4e38dc8e03d31fc19f0913a205.tar
drakx-backup-do-not-use-3325411d9d34ba4e38dc8e03d31fc19f0913a205.tar.gz
drakx-backup-do-not-use-3325411d9d34ba4e38dc8e03d31fc19f0913a205.tar.bz2
drakx-backup-do-not-use-3325411d9d34ba4e38dc8e03d31fc19f0913a205.tar.xz
drakx-backup-do-not-use-3325411d9d34ba4e38dc8e03d31fc19f0913a205.zip
fix device (was broken due to the fact we kept all the data collected
about modems)
Diffstat (limited to 'perl-install/network/netconnect.pm')
-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 1faec8cd3..cfa64d609 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -425,7 +425,7 @@ Take a look at http://www.linmodems.org"),
killall pppd
), $netcnx->{type});
$modem = $netcnx->{$netcnx->{type}};
- $modem->{device} = $first_modem->();
+ $modem->{device} = $first_modem->()->{device};
my %l = getVarsFromSh("$::prefix/usr/share/config/kppprc");
$modem->{connection} = $l{Name};
$modem->{domain} = $l{Domain};