put in support to auditskipcmds for clienttype:value

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14439 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-11-27 17:01:49 +00:00
parent 1f227a54fb
commit 21202e8773

View File

@ -214,7 +214,14 @@ sub validate {
if (grep(/$request->{command}->[0]/, @skipcmds)) { # skip the command
$skip = 1;
}
# if skip clienttype clienttype:value
my $client="clienttype:";
$client .= $request->{clienttype}->[0];
if (grep(/$client/, @skipcmds)) { #skip the client
$skip = 1;
}
}
}
@$deferredmsgargs=(); #should be redundant, but just in case
if (($request->{command}->[0] ne "getpostscript") && ($request->{command}->[0] ne "getcredentials") && ($skip == 0)) {