mod_firewall/actions.lib.lua
changeset 957 9b21b91c2d96
parent 950 bea0ef13575c
child 958 843795020701
equal deleted inserted replaced
956:33d6642f4db7 957:9b21b91c2d96
    45 		end
    45 		end
    46 	end
    46 	end
    47 	return table.concat(code, "");
    47 	return table.concat(code, "");
    48 end
    48 end
    49 
    49 
       
    50 function action_handlers.PASS()
       
    51 	return "do return end"
       
    52 end
    50 
    53 
    51 function action_handlers.DROP()
    54 function action_handlers.DROP()
    52 	return "log('debug', 'Firewall dropping stanza: %s', tostring(stanza)); return true;";
    55 	return "log('debug', 'Firewall dropping stanza: %s', tostring(stanza)); return true;";
    53 end
    56 end
    54 
    57