use the getIPaddress() in FSPUtils.pm

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

View File

@ -864,7 +864,7 @@ sub fsp_api_passwd {
#$fsp_ip = xCAT::Utils::get_hdwr_ip($fsp_name);
#$fsp_ip = xCAT::Utils::getNodeIPaddress($fsp_name);
#$fsp_ip = xCAT::Utils::getIPaddress($fsp_name);
$fsp_ip = getIPaddress($request, $attrs, $fsp_name );
$fsp_ip = xCAT::FSPUtils::getIPaddress($request, $$attrs[4], $fsp_name );
if(!defined($fsp_ip) or ($fsp_ip == -3)) {
$res = "Failed to get IP address for $fsp_name.";
return ([$node_name, $res, -1]);