summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-12-04 16:49:51 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-12-04 16:49:51 +0000
commitd23be7ab76f618fdcaeb92b0563e90eb9e8cbd45 (patch)
tree0ec8cadc8c9e2578a0c8886ae02207424feea82f
parent21a9a29568df8128bf71ab489d219149bb68b636 (diff)
downloaddrakx-backup-do-not-use-d23be7ab76f618fdcaeb92b0563e90eb9e8cbd45.tar
drakx-backup-do-not-use-d23be7ab76f618fdcaeb92b0563e90eb9e8cbd45.tar.gz
drakx-backup-do-not-use-d23be7ab76f618fdcaeb92b0563e90eb9e8cbd45.tar.bz2
drakx-backup-do-not-use-d23be7ab76f618fdcaeb92b0563e90eb9e8cbd45.tar.xz
drakx-backup-do-not-use-d23be7ab76f618fdcaeb92b0563e90eb9e8cbd45.zip
(configureNetwork) configureNetworkNet() wrongly put
WIRELESS_NWID=HASH(0x8e93758) in ifcfg-<intf> because we give it the last configured network card intead of the interfaces list however, for a few weeks, it now checks if some interfaces are dynamic before offering to configure zeroconf, hence there was a bug since we only checked if *last* interfaces wasn't static which would results in wrong configuration if some interface were dynamics but the last one was static
-rw-r--r--perl-install/network/ethernet.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm
index bcda4a64b..83c19f15d 100644
--- a/perl-install/network/ethernet.pm
+++ b/perl-install/network/ethernet.pm
@@ -185,7 +185,7 @@ want to use the default host name."),
}
) or goto configureNetwork_step_1;
} else {
- configureNetworkNet($in, $netc, $last ||= {}, @l) or goto configureNetwork_step_1;
+ configureNetworkNet($in, $netc, $intf, @l) or goto configureNetwork_step_1;
}
network::network::miscellaneous_choose($in, $::o->{miscellaneous} ||= {}) or goto configureNetwork_step_2;
1;