From b9ab9c9ab07fbda8abf2dce8c0c6075d38bc38f8 Mon Sep 17 00:00:00 2001 From: jjhua Date: Wed, 2 May 2012 06:26:43 +0000 Subject: [PATCH] use the getIPaddress() in FSPUtils.pm git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPcfg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]);