summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-03-14 16:17:43 -0400
committerjim-p <jimp@pfsense.org>2012-03-14 16:18:26 -0400
commit6f49abdcfa5a63a82555302d10e44cf00b459193 (patch)
tree58c1ee9c3d7f21e50e831650a0d3d9bc4f87055e /etc
parent93606e5737681629c0d86f6cf3a3422397a3b85f (diff)
downloadpfsense-6f49abdcfa5a63a82555302d10e44cf00b459193.zip
pfsense-6f49abdcfa5a63a82555302d10e44cf00b459193.tar.gz
Don't put an extra space here or later tests will fail to match this as a pass rule. Part of #2293
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
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 ";
OpenPOWER on IntegriCloud