summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-04-10 02:29:59 +0000
committerdamien <damien@mandriva.com>2001-04-10 02:29:59 +0000
commit95fbbed1f6db7c968c00cba417432377cf155f3f (patch)
treec4386a7cee94f96fde58d3d4b0a610c2f3ae7bcc
parent61c21002ee02666d041cd14bb576df75fe132a94 (diff)
downloaddrakx-backup-do-not-use-95fbbed1f6db7c968c00cba417432377cf155f3f.tar
drakx-backup-do-not-use-95fbbed1f6db7c968c00cba417432377cf155f3f.tar.gz
drakx-backup-do-not-use-95fbbed1f6db7c968c00cba417432377cf155f3f.tar.bz2
drakx-backup-do-not-use-95fbbed1f6db7c968c00cba417432377cf155f3f.tar.xz
drakx-backup-do-not-use-95fbbed1f6db7c968c00cba417432377cf155f3f.zip
minor correction
-rw-r--r--perl-install/network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network.pm b/perl-install/network.pm
index 2ee47426e..9a89fd0be 100644
--- a/perl-install/network.pm
+++ b/perl-install/network.pm
@@ -254,13 +254,13 @@ sub configureNetwork {
configureNetwork_step_1:
my $n_card=0;
+ $netc ||= {};
my $last; foreach (@l) {
my $intf2 = findIntf($intf ||= {}, $_);
add2hash($intf2, $last);
add2hash($intf2, { NETMASK => '255.255.255.0' });
configureNetworkIntf($netc, $in, $intf2, $netc->{NET_DEVICE}, 0, $all_cards[$n_card]->[1]) or return;
- $netc ||= {};
$last = $intf2;
$n_card++;
}