changeset 957:9b21b91c2d96

mod_firewall/actions: Add PASS
author Matthew Wild <mwild1@gmail.com>
date Fri, 05 Apr 2013 18:05:46 +0100
parents 33d6642f4db7
children 843795020701
files mod_firewall/actions.lib.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;";