summaryrefslogtreecommitdiffstats
path: root/perl-install/network/adsl.pm
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2003-09-15 21:04:18 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2003-09-15 21:04:18 +0000
commitbeaef42aa133b896cafb5ad254081aa680df2d20 (patch)
tree1551f00f45c5ca08dbd266d156be52cdf039154c /perl-install/network/adsl.pm
parentebbe42bd6fcb33e2b559808fbe628419b20e90d1 (diff)
downloaddrakx-beaef42aa133b896cafb5ad254081aa680df2d20.tar
drakx-beaef42aa133b896cafb5ad254081aa680df2d20.tar.gz
drakx-beaef42aa133b896cafb5ad254081aa680df2d20.tar.bz2
drakx-beaef42aa133b896cafb5ad254081aa680df2d20.tar.xz
drakx-beaef42aa133b896cafb5ad254081aa680df2d20.zip
initialize $adsl, fix #5674 and pppoe.conf problems
Diffstat (limited to 'perl-install/network/adsl.pm')
-rw-r--r--perl-install/network/adsl.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index 68004cc37..9844b2b64 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -109,6 +109,7 @@ sub adsl_detect {
sub adsl_conf {
my ($adsl, $netc, $intf, $adsl_type) = @_;
+ $adsl ||= {};
adsl_conf_step_1:
adsl_ask_info($adsl, $netc, $adsl_type) or return;