summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-26 17:02:06 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-26 17:02:06 +0000
commit0022e0f58ca23b9e1497a36bed7fb23b464de46c (patch)
tree5bf7e92db726bf91c7df4ba895938f13851f574d /perl-install/network
parent9ba81bbbe9b45ecb8af22c8563a50f9da61af966 (diff)
downloaddrakx-0022e0f58ca23b9e1497a36bed7fb23b464de46c.tar
drakx-0022e0f58ca23b9e1497a36bed7fb23b464de46c.tar.gz
drakx-0022e0f58ca23b9e1497a36bed7fb23b464de46c.tar.bz2
drakx-0022e0f58ca23b9e1497a36bed7fb23b464de46c.tar.xz
drakx-0022e0f58ca23b9e1497a36bed7fb23b464de46c.zip
perl_checker was wrong
Diffstat (limited to 'perl-install/network')
-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 a5956ba12..2640fe9be 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -417,7 +417,7 @@ killall pppd
$modem_conf_read = 1;
$netcnx->{$netcnx->{type}} ||= {};
$modem ||= $netcnx->{$netcnx->{type}};
- $modem->{device} ||= $first_modem->(){device};
+ $modem->{device} ||= $first_modem->()->{device};
my %l = getVarsFromSh("$::prefix/usr/share/config/kppprc");
$l{Authentication} = 4 if !exists $l{Authentication};
$modem->{auth} ||= { 0 => N("Script-based"), 1 => N("PAP"), 2 => N("Terminal-based"), 3 => N("CHAP"), 4 => N("PAP/CHAP") }->{$l{Authentication}};