mod_firewall: JUMP_CHAIN: Fix implementation to match docs (i.e. continue processing current chain if stanza not handled)
--- a/mod_firewall/actions.lib.lua Thu Mar 17 11:25:01 2016 +0000
+++ b/mod_firewall/actions.lib.lua Thu Mar 17 11:26:20 2016 +0000
@@ -180,7 +180,7 @@
end
function action_handlers.JUMP_CHAIN(name)
- return ("do return fire_event(%q, event); end"):format("firewall/chains/"..name);
+ return ("if fire_event(%q, event) then return true; end"):format("firewall/chains/"..name);
end
return action_handlers;