Suppress a little noise in debug when using IPv6 networks

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10696 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2011-10-04 15:57:15 +00:00
parent a5379ea4ee
commit ae8990d359

View File

@ -2475,6 +2475,8 @@ sub my_ip_facing
$peer = shift;
}
return my_ip_facing_aix( $peer) if ( $^O eq 'aix');
my $peernumber = inet_aton($peer); #TODO: IPv6 support
unless ($peernumber) { return undef; }
my $noden = unpack("N", inet_aton($peer));
my @nets = split /\n/, `/sbin/ip addr`;
foreach (@nets)