mod_firewall/mod_firewall.lua
changeset 960 d773a51af9b1
parent 956 33d6642f4db7
child 965 d4e24fb289c0
--- a/mod_firewall/mod_firewall.lua	Fri Apr 05 18:06:32 2013 +0100
+++ b/mod_firewall/mod_firewall.lua	Fri Apr 05 18:08:16 2013 +0100
@@ -241,9 +241,7 @@
 			table.insert(code, rule_code);
 		end
 
-		assert(chains[chain_name].type == "event", "Only event chains supported at the moment")
-
-		local code_string = [[return function (zones, log)
+		local code_string = [[return function (zones, fire_event, log)
 			]]..table.concat(code.global_header, "\n")..[[
 			local db = require 'util.debug'
 			return function (event)