fix defect 3625

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16645 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2013-06-17 17:33:48 +00:00
parent c5bba25f7e
commit 60ca873f6c

View File

@ -9,6 +9,7 @@ use strict;
use xCAT::Table;
use xCAT::MsgUtils;
use Data::Dumper;
use xCAT::NodeRange;
#--------------------------------------------------------------------------------
=head1 xCAT::XCATD
@ -121,8 +122,7 @@ sub validate {
if ($rule->{rule} =~ /allow/i or $rule->{rule} =~ /accept/i or $rule->{rule} =~ /trusted/i) {
$matchall=1;
}
use xCAT::NodeRange;
if (defined $request->{noderange}->[0]) {
my @tmpn= xCAT::NodeRange::noderange($request->{noderange}->[0]);
$request->{node}=\@tmpn;