From 6f49abdcfa5a63a82555302d10e44cf00b459193 Mon Sep 17 00:00:00 2001 From: jim-p Date: Wed, 14 Mar 2012 16:17:43 -0400 Subject: Don't put an extra space here or later tests will fail to match this as a pass rule. Part of #2293 --- etc/inc/filter.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 205ff9e..90502d3 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -1855,7 +1855,7 @@ function filter_generate_user_rule($rule) { $type = $rule['type']; if($type != "pass" && $type != "block" && $type != "reject" && $type != "match") { /* default (for older rules) is pass */ - $type = "pass "; + $type = "pass"; } if($type == "reject") { $aline['type'] = "block return "; -- cgit v1.1