From f21fe9d9049c0291cae50fdae97bf62f19454a46 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 2 Dec 2008 18:36:32 +0000 Subject: [PATCH] -Fix bug in new networks table based scheme for detecting nics git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2529 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/dhcp.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/dhcp.pm b/xCAT-server/lib/xcat/plugins/dhcp.pm index 48cee2743..f0b952e05 100644 --- a/xCAT-server/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server/lib/xcat/plugins/dhcp.pm @@ -432,7 +432,7 @@ sub process_request { #Use netstat to determine activenics only when no site ent. foreach (@nrn) { - my @ent = split /\s+/; + my @ent = split /:/; my $firstoctet = $ent[0]; $firstoctet =~ s/^(\d+)\..*/$1/; if ($ent[0] eq "169.254.0.0" or ($firstoctet >= 224 and $firstoctet <= 239) or $ent[0] eq "127.0.0.0")