summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-09-16 15:55:43 +0000
committerOlivier Blin <oblin@mandriva.org>2005-09-16 15:55:43 +0000
commit034c6d8da3c3c3144ad29ceb05926858f2f67ff6 (patch)
treeb59c462186d9ce87de5d5a4c8f23537c140b7f35 /perl-install/network/netconnect.pm
parent838763833c8ab5108500d91821ea033d67eb9589 (diff)
downloaddrakx-034c6d8da3c3c3144ad29ceb05926858f2f67ff6.tar
drakx-034c6d8da3c3c3144ad29ceb05926858f2f67ff6.tar.gz
drakx-034c6d8da3c3c3144ad29ceb05926858f2f67ff6.tar.bz2
drakx-034c6d8da3c3c3144ad29ceb05926858f2f67ff6.tar.xz
drakx-034c6d8da3c3c3144ad29ceb05926858f2f67ff6.zip
make sure $net->{ifcfg}{ppp0} is a hash
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index f3df13cc3..23bc560b9 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -759,6 +759,7 @@ If you do not know it, keep the preselected type."),
pre => sub {
network::adsl::adsl_probe_info($net);
$net->{net_interface} = 'ppp0';
+ $net->{ifcfg}{ppp0} ||= {};
($adsl_vpi, $adsl_vci) = (hex($net->{adsl}{vpi}), hex($net->{adsl}{vci}));
},
name => N("Connection Configuration") . "\n\n" .