From 55deb895fb78c461b2e9400a1ba952adcdfc6359 Mon Sep 17 00:00:00 2001 From: jjhua Date: Thu, 5 Jan 2012 04:53:04 +0000 Subject: [PATCH] in DFM, getIPaddress() will replace the getNodeIPaddress() git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11348 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/fsp.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/fsp.pm b/xCAT-server/lib/xcat/plugins/fsp.pm index ef45b9f5c..79778d365 100644 --- a/xCAT-server/lib/xcat/plugins/fsp.pm +++ b/xCAT-server/lib/xcat/plugins/fsp.pm @@ -232,7 +232,8 @@ sub getfspcon { my $fsp_name = $att->{hcp}; my $id = $att->{id}; - my $fsp_ip = xCAT::Utils::getNodeIPaddress( $fsp_name ); + #my $fsp_ip = xCAT::Utils::getNodeIPaddress( $fsp_name ); + my $fsp_ip = xCAT::Utils::getIPaddress( $fsp_name ); if(!defined($fsp_ip)) { #return "Failed to get the $fsp_name\'s ip"; $rsp->{node}->[0]->{error}=["Can't get node address"];