From 8050ab95917f595fc59315c80c0b377389917a81 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 28 May 2004 20:39:48 +0000 Subject: (read_all_conf) read ip aliased interfaces too --- perl-install/network/network.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/$_") }); } -- cgit v1.2.1