diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-11-25 22:31:56 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-11-25 22:31:56 +0000 |
commit | 5a803de5077050d852ace2386ec7c70916bb933f (patch) | |
tree | f36c9a66976ac5da9744bfc08f27453f375dddf9 /perl-install/network/netconnect.pm | |
parent | 404e04a2987baceaac76c4d940eeb43cfca942f8 (diff) | |
download | drakx-5a803de5077050d852ace2386ec7c70916bb933f.tar drakx-5a803de5077050d852ace2386ec7c70916bb933f.tar.gz drakx-5a803de5077050d852ace2386ec7c70916bb933f.tar.bz2 drakx-5a803de5077050d852ace2386ec7c70916bb933f.tar.xz drakx-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/network/netconnect.pm')
-rw-r--r-- | perl-install/network/netconnect.pm | 3 |
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}], |