# HG changeset patch # User Matthew Wild # Date 1365181546 -3600 # Node ID 9b21b91c2d96b6d0ac2d3c80b8e17ffbc432289a # Parent 33d6642f4db774d12931e4f8bbd367294f5061b1 mod_firewall/actions: Add PASS diff -r 33d6642f4db7 -r 9b21b91c2d96 mod_firewall/actions.lib.lua --- a/mod_firewall/actions.lib.lua Fri Apr 05 18:05:21 2013 +0100 +++ b/mod_firewall/actions.lib.lua Fri Apr 05 18:05:46 2013 +0100 @@ -47,6 +47,9 @@ return table.concat(code, ""); end +function action_handlers.PASS() + return "do return end" +end function action_handlers.DROP() return "log('debug', 'Firewall dropping stanza: %s', tostring(stanza)); return true;";