From 7d0cb74de65dab69012c059bee514fd8e8be2e0b Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 17 Jun 2013 17:34:52 +0000 Subject: [PATCH] fix defect 3625 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16646 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/xcatd.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/perl/xCAT/xcatd.pm b/xCAT-server/lib/perl/xCAT/xcatd.pm index 20b574567..33f6412ca 100644 --- a/xCAT-server/lib/perl/xCAT/xcatd.pm +++ b/xCAT-server/lib/perl/xCAT/xcatd.pm @@ -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;