use the getIPaddress() in FSPUtils.pm

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12455 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2012-05-02 06:30:46 +00:00
parent 80dd11dbd4
commit 3edf686eb9

View File

@ -639,7 +639,8 @@ sub lshwconn
#my $node_ip_hash = $hosttab->getNodeAttribs( $node_name,[qw(ip)]);
#$node_ip = $node_ip_hash->{ip};
#$node_ip = xCAT::Utils::getNodeIPaddress( $node_name );
$node_ip = xCAT::Utils::getIPaddress( $node_name );
my $d = $nodehash->{$node_name};
$node_ip = xCAT::FSPUtils::getIPaddress($request, $$d[4], $node_name );
}
if (!$node_ip || ($node_ip == -3))
{