summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-05-28 20:39:48 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-05-28 20:39:48 +0000
commit8050ab95917f595fc59315c80c0b377389917a81 (patch)
tree8c9073a0718b38fa89aac3e80c2294e825c5b914
parent1017734abec215442073de1dfd7917fa6841f548 (diff)
downloaddrakx-backup-do-not-use-8050ab95917f595fc59315c80c0b377389917a81.tar
drakx-backup-do-not-use-8050ab95917f595fc59315c80c0b377389917a81.tar.gz
drakx-backup-do-not-use-8050ab95917f595fc59315c80c0b377389917a81.tar.bz2
drakx-backup-do-not-use-8050ab95917f595fc59315c80c0b377389917a81.tar.xz
drakx-backup-do-not-use-8050ab95917f595fc59315c80c0b377389917a81.zip
(read_all_conf) read ip aliased interfaces too
-rw-r--r--perl-install/network/network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index ec56299b9..a3719bba9 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -341,7 +341,7 @@ sub read_all_conf {
add2hash($netc, read_resolv_conf());
add2hash($netc, read_tmdns_conf("$::prefix/etc/tmdns.conf")) if -r "$::prefix/etc/tmdns.conf";
foreach (all("$::prefix/etc/sysconfig/network-scripts")) {
- if (/^ifcfg-(\w+)$/ && $1 ne 'lo') {
+ if (/^ifcfg-([A-Za-z0-9:]+)$/ && $1 ne 'lo') {
my $intf = findIntf($intf, $1);
add2hash($intf, { getVarsFromSh("$::prefix/etc/sysconfig/network-scripts/$_") });
}