From 80dd11dbd42e7dbb1a43497ab9e837afe200673d Mon Sep 17 00:00:00 2001 From: jjhua Date: Wed, 2 May 2012 06:30:04 +0000 Subject: [PATCH] use the getIPaddress() in FSPUtils.pm git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12454 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/PPCenergy.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/PPCenergy.pm b/perl-xCAT/xCAT/PPCenergy.pm index 1691f2738..d76461993 100644 --- a/perl-xCAT/xCAT/PPCenergy.pm +++ b/perl-xCAT/xCAT/PPCenergy.pm @@ -251,7 +251,7 @@ sub renergy { return ([[$node, "Failed to get the FSPs for the cec $hcphost.", -1]]); } #my $hcp_ip = xCAT::Utils::getNodeIPaddress($hcphost); - my $hcp_ip = xCAT::Utils::getIPaddress($hcphost); + my $hcp_ip = xCAT::FSPUtils::getIPaddress($request, $hw_type, $hcphost); if (!defined($hcp_ip) or ($hcp_ip == -3)) { return ([[$node, "Failed to get IP address for $hcphost.", -1]]); }