From 3edf686eb93e3bf3ad24c16da1c130aca0fee48e Mon Sep 17 00:00:00 2001 From: jjhua Date: Wed, 2 May 2012 06:30:46 +0000 Subject: [PATCH] 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 --- perl-xCAT/xCAT/PPCconn.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/PPCconn.pm b/perl-xCAT/xCAT/PPCconn.pm index 2567ad292..504302bab 100644 --- a/perl-xCAT/xCAT/PPCconn.pm +++ b/perl-xCAT/xCAT/PPCconn.pm @@ -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)) {