summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-26 15:59:39 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-26 15:59:39 +0000
commit598288c2b509111974c121b1cb2a20d7952398ac (patch)
treeaa58dd9dd2370f46c4408ff4e1e604169bbe81c6 /perl-install/network
parent8367eb08fdb2c6b6529d6a7af24ec381eeeba7be (diff)
downloaddrakx-backup-do-not-use-598288c2b509111974c121b1cb2a20d7952398ac.tar
drakx-backup-do-not-use-598288c2b509111974c121b1cb2a20d7952398ac.tar.gz
drakx-backup-do-not-use-598288c2b509111974c121b1cb2a20d7952398ac.tar.bz2
drakx-backup-do-not-use-598288c2b509111974c121b1cb2a20d7952398ac.tar.xz
drakx-backup-do-not-use-598288c2b509111974c121b1cb2a20d7952398ac.zip
remove useless parenthessis
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 4fd3f03fb..4fce06742 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -422,7 +422,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}};