mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Adds missing `nog_log' action
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
#include "actions/capture.h"
|
||||
#include "actions/pass.h"
|
||||
#include "actions/log.h"
|
||||
#include "actions/no_log.h"
|
||||
|
||||
|
||||
|
||||
@@ -93,6 +94,9 @@ Action *Action::instantiate(const std::string& name) {
|
||||
if (name == "log") {
|
||||
return new Log(name);
|
||||
}
|
||||
if (name == "nolog") {
|
||||
return new NoLog(name);
|
||||
}
|
||||
return new Action(name);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user