diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-26 16:09:39 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-26 16:09:39 +0000 |
commit | 514e03837074b04180fa861327bc2698bf07cb6e (patch) | |
tree | 3b9ad4bed6bb562cbc6b2af54322c6befaaf24ad /perl-install/network/netconnect.pm | |
parent | 598288c2b509111974c121b1cb2a20d7952398ac (diff) | |
download | drakx-514e03837074b04180fa861327bc2698bf07cb6e.tar drakx-514e03837074b04180fa861327bc2698bf07cb6e.tar.gz drakx-514e03837074b04180fa861327bc2698bf07cb6e.tar.bz2 drakx-514e03837074b04180fa861327bc2698bf07cb6e.tar.xz drakx-514e03837074b04180fa861327bc2698bf07cb6e.zip |
fix the cleanup
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r-- | perl-install/network/netconnect.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 4fce06742..e2fe7b521 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}}; |