Changeset

2106:f2ee508315e1

mod_firewall: JUMP_CHAIN: Fix implementation to match docs (i.e. continue processing current chain if stanza not handled)
author Matthew Wild <mwild1@gmail.com>
date Thu, 17 Mar 2016 11:26:20 +0000
parents 2105:f2d5aa789646
children 2107:f445f43b9ba1
files mod_firewall/actions.lib.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;