mirror of
https://github.com/potats0/lua-resty-coraza.git
synced 2025-06-28 17:41:00 +03:00
修改free_waf代码
This commit is contained in:
parent
3a4c7fb80d
commit
d3fe250653
@ -111,9 +111,8 @@ end
|
|||||||
|
|
||||||
function _M.free_waf(waf)
|
function _M.free_waf(waf)
|
||||||
-- extern int coraza_free_waf(coraza_waf_t t);
|
-- extern int coraza_free_waf(coraza_waf_t t);
|
||||||
local waf = coraza.coraza_free_waf(waf)
|
coraza.coraza_free_waf(waf)
|
||||||
nlog(debug_fmt("Success to free new waf"))
|
nlog(debug_fmt("Success to free new waf"))
|
||||||
return waf
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function _M.rules_add_file(waf, conf_file)
|
function _M.rules_add_file(waf, conf_file)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user