Adds support to the operator le

This commit is contained in:
Felipe Zimmerle
2015-07-27 16:19:26 -03:00
parent 606f03be43
commit 7b4554216e
2 changed files with 12 additions and 14 deletions

View File

@@ -27,8 +27,10 @@ namespace operators {
class Le : public Operator {
public:
/** @ingroup ModSecurity_Operator */
Le(std::string o, std::string p, bool i);
bool evaluate(Assay *assay);
Le(std::string op, std::string param, bool negation)
: Operator(op, param, negation) { }
bool evaluate(Assay *assay, const std::string &input) override;
};