Uses an enumeration to determine the state of the SecRuleEngine

This commit is contained in:
Felipe Zimmerle
2015-07-09 16:10:32 -03:00
parent cb8d6249a8
commit 75a9cfa273
4 changed files with 43 additions and 7 deletions

View File

@@ -154,7 +154,7 @@ int Rules::merge(Driver *from) {
}
}
this->sec_rule_engine = from->sec_rule_engine;
this->secRuleEngine = from->secRuleEngine;
this->sec_audit_type = from->sec_audit_type;
this->sec_audit_engine = from->sec_audit_engine;
this->sec_request_body_access = from->sec_request_body_access;
@@ -189,7 +189,7 @@ int Rules::merge(Rules *from) {
}
}
this->sec_rule_engine = from->sec_rule_engine;
this->secRuleEngine = from->secRuleEngine;
this->sec_audit_type = from->sec_audit_type;
this->sec_audit_engine = from->sec_audit_engine;
this->sec_request_body_access = from->sec_request_body_access;