From 428c8f299d5c49f0aee3cfbb1ecf701d10a5ad1c Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 17 Jun 2013 15:58:45 +0000 Subject: [PATCH] fix defect 3625 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16644 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/xcatd.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/perl/xCAT/xcatd.pm b/xCAT-server/lib/perl/xCAT/xcatd.pm index 837e18c2d..20b574567 100644 --- a/xCAT-server/lib/perl/xCAT/xcatd.pm +++ b/xCAT-server/lib/perl/xCAT/xcatd.pm @@ -121,8 +121,10 @@ 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=noderange($request->{noderange}->[0]); + my @tmpn= xCAT::NodeRange::noderange($request->{noderange}->[0]); $request->{node}=\@tmpn; } unless (defined $request->{node}) {