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