mod_firewall: Fix for when compiling on the command line and specifying multiple files
--- 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)..";");