From b05dc625a2c66c98f9951ee0ac3585b24713e8a6 Mon Sep 17 00:00:00 2001 From: yinle Date: Mon, 20 Dec 2010 01:33:46 +0000 Subject: [PATCH] FSP/BPA redundancy: minor fix git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8463 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/PPC.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/perl/xCAT/PPC.pm b/xCAT-server/lib/perl/xCAT/PPC.pm index dee213dbd..9ffe01bbd 100644 --- a/xCAT-server/lib/perl/xCAT/PPC.pm +++ b/xCAT-server/lib/perl/xCAT/PPC.pm @@ -1773,7 +1773,7 @@ sub process_request { } #print "lasthcp_type:$lasthcp_type ;thishcp_type:$thishcp_type\n"; if(defined($lasthcp_type)) { - if ( ($lasthcp_type =~ /^(hmc)$/ && $thishcp_type =~ /^(fsp|bpa)$/) or (($lasthcp_type =~ /^(fsp|bpa)$/ ) && ($thishcp_type =~ /^(hmc)$/ )) ) { + if ( ($lasthcp_type =~ /^(hmc)$/ && $thishcp_type =~ /^(fsp|bpa|cec)$/) or (($lasthcp_type =~ /^(fsp|bpa|cec)$/ ) && ($thishcp_type =~ /^(hmc)$/ )) ) { $callback->({data=>["the $node\'s hcp type is different from the other's in the specified noderange in the 'ppc' table."]}); return; }