-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
This commit is contained in:
parent
bdfe1bcef4
commit
f21fe9d904
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user