mod_firewall/conditions.lib.lua
changeset 2123 5f6c18fd0161
parent 2120 2bb42ba342f3
child 2129 edf5cf3c474b
--- a/mod_firewall/conditions.lib.lua	Thu Mar 17 14:33:14 2016 +0100
+++ b/mod_firewall/conditions.lib.lua	Thu Mar 17 14:45:08 2016 +0100
@@ -73,7 +73,7 @@
 local function zone_check(zone, which)
 	local which_not = which == "from" and "to" or "from";
 	return ("(zone_%s[%s_host] or zone_%s[%s] or zone_%s[bare_%s]) "
-		.."and not(zone_%s[%s_host] or zone_%s[%s] or zone_%s[%s])"
+		.."and not(zone_%s[%s_host] or zone_%s[%s] or zone_%s[bare_%s])"
 		)
 		:format(zone, which, zone, which, zone, which,
 		zone, which_not, zone, which_not, zone, which_not), {