summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-12-19 22:03:31 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-12-19 22:03:31 +0000
commit6f6cc3c84d81f6f6dbbf57a4fe4b58de3daca6d5 (patch)
treed44860a9f5caf14af2471cf6503ed6c59cad517e
parent45449ae01bc34f52f20ffb70113970fa414577f9 (diff)
downloadpfsense-6f6cc3c84d81f6f6dbbf57a4fe4b58de3daca6d5.zip
pfsense-6f6cc3c84d81f6f6dbbf57a4fe4b58de3daca6d5.tar.gz
Surround alias with {}
-rw-r--r--etc/inc/filter.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 7125f6c..df0ee2a 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1121,7 +1121,7 @@ function generate_user_filter_rule($rule, $ngcounter) {
$not = "";
if (stristr($expsrc, "$"))
- $src = "{$not} " . alias_expand_value($rule['source']['address']);
+ $src = "{ {$not} " . alias_expand_value($rule['source']['address']) . " } ";
else
$src = "{ {$not} {$expsrc} }";
}
@@ -1198,7 +1198,7 @@ function generate_user_filter_rule($rule, $ngcounter) {
$not = "";
if (stristr($expdst, "$"))
- $dst = "{$not} " . alias_expand_value($rule['destination']['address']);
+ $dst = "{ {$not} " . alias_expand_value($rule['destination']['address']) . " } ";
else
$dst = "{ {$not} {$expdst} }";
}
OpenPOWER on IntegriCloud