diff --git a/perl-xCAT/xCAT/FSPcfg.pm b/perl-xCAT/xCAT/FSPcfg.pm index 7f474b8d5..ce4d53422 100644 --- a/perl-xCAT/xCAT/FSPcfg.pm +++ b/perl-xCAT/xCAT/FSPcfg.pm @@ -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]);