fix for thishostisnot: skip the ipv6 ip address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4602 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
1a32e4fe24
commit
6d10253f56
@ -2585,7 +2585,7 @@ sub thishostisnot
|
||||
{
|
||||
foreach (@ips)
|
||||
{
|
||||
if (/^\s*inet/)
|
||||
if (/^\s*inet\s+/)
|
||||
{
|
||||
my @ents = split(/\s+/);
|
||||
my $ip = $ents[2];
|
||||
|
Loading…
Reference in New Issue
Block a user