mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +03:00
Extends acmp_prepare to pm_from_file
This commit is contained in:
parent
a7ed9f2663
commit
29097c9d13
@ -53,7 +53,9 @@ bool PmFromFile::init(const std::string &config, std::string *error) {
|
||||
acmp_add_pattern(m_p, line.c_str(), NULL, NULL, line.length());
|
||||
}
|
||||
|
||||
// acmp_prepare(m_p);
|
||||
while (m_p->is_failtree_done == 0) {
|
||||
acmp_prepare(m_p);
|
||||
}
|
||||
|
||||
delete iss;
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user