summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-25 22:31:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-25 22:31:56 +0000
commit5a803de5077050d852ace2386ec7c70916bb933f (patch)
treef36c9a66976ac5da9744bfc08f27453f375dddf9 /perl-install
parent404e04a2987baceaac76c4d940eeb43cfca942f8 (diff)
downloaddrakx-backup-do-not-use-5a803de5077050d852ace2386ec7c70916bb933f.tar
drakx-backup-do-not-use-5a803de5077050d852ace2386ec7c70916bb933f.tar.gz
drakx-backup-do-not-use-5a803de5077050d852ace2386ec7c70916bb933f.tar.bz2
drakx-backup-do-not-use-5a803de5077050d852ace2386ec7c70916bb933f.tar.xz
drakx-backup-do-not-use-5a803de5077050d852ace2386ec7c70916bb933f.zip
in network::netconnect::main(), declare @l as it should be. But the code is really wrong, it NEEDS fixing
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/netconnect.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 1f0f42c89..8f0a78683 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -12,7 +12,7 @@ use network;
use network::tools;
use MDK::Common::Globals "network", qw($in $prefix $connect_file $disconnect_file $connect_prog);
-@EXPORT = qw(start_internet stop_internet);
+our @EXPORT = qw(start_internet stop_internet);
#- intro is called only in standalone.
sub intro {
@@ -184,6 +184,7 @@ If you don't want to use the auto detection, deselect the checkbox.
my %conf;
$conf{$_} = $netc->{autodetect}{$_} ? 1 : 0 foreach 'modem', 'winmodem', 'adsl', 'cable', 'lan';
$conf{isdn} = $netc->{autodetect}{isdn}{description} ? 1 : 0;
+ my @l;
# my @l = (
# [N("Normal modem connection"), $netc->{autodetect}{modem}, N_("detected on port %s"), \$conf{modem}],
# [N("ISDN connection"), $netc->{autodetect}{isdn}{description}, N_("detected %s"), \$conf{isdn}],