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:17:43 -0400
commitc3f01709d6d932f9f49f771ecd5f2652af05d5fe (patch)
tree32bf1a1e67eef74855d5bb5ddefa466a65257b6e /etc
parent2a9cb3b2a8825d2e8a338769abb789f810a5fe12 (diff)
downloadpfsense-c3f01709d6d932f9f49f771ecd5f2652af05d5fe.zip
pfsense-c3f01709d6d932f9f49f771ecd5f2652af05d5fe.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 a9f9658..ecf059a 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1972,7 +1972,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