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:
ligc 2009-11-18 08:37:59 +00:00
parent 1a32e4fe24
commit 6d10253f56

View File

@ -2585,7 +2585,7 @@ sub thishostisnot
{
foreach (@ips)
{
if (/^\s*inet/)
if (/^\s*inet\s+/)
{
my @ents = split(/\s+/);
my $ip = $ents[2];