# HG changeset patch # User Matthew Wild # Date 1479221989 0 # Node ID 05dae9adf778ae2bfd93a42878df067391ab42e7 # Parent 17d236129118f83c62485721fdfb223d0058b468 mod_firewall: Fix for when compiling on the command line and specifying multiple files diff -r 17d236129118 -r 05dae9adf778 mod_firewall/mod_firewall.lua --- a/mod_firewall/mod_firewall.lua Tue Nov 15 14:58:43 2016 +0000 +++ b/mod_firewall/mod_firewall.lua Tue Nov 15 14:59:49 2016 +0000 @@ -460,7 +460,7 @@ for _, filename in ipairs(arg) do print("do -- File "..filename); - local chain_functions = assert(compile_firewall_rules(arg[1])); + local chain_functions = assert(compile_firewall_rules(filename)); if verbose then print(); print("local active_definitions = "..serialize(active_definitions)..";");