mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-21 02:30:21 +00:00
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:
@@ -2585,7 +2585,7 @@ sub thishostisnot
|
||||
{
|
||||
foreach (@ips)
|
||||
{
|
||||
if (/^\s*inet/)
|
||||
if (/^\s*inet\s+/)
|
||||
{
|
||||
my @ents = split(/\s+/);
|
||||
my $ip = $ents[2];
|
||||
|
Reference in New Issue
Block a user