use the getIPaddress() in FSPUtils.pm

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12451 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2012-05-02 06:21:58 +00:00
parent c2f1d848ff
commit 8a478034cb

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))
{