diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-12-19 22:03:31 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-12-19 22:03:31 +0000 |
commit | 6f6cc3c84d81f6f6dbbf57a4fe4b58de3daca6d5 (patch) | |
tree | d44860a9f5caf14af2471cf6503ed6c59cad517e | |
parent | 45449ae01bc34f52f20ffb70113970fa414577f9 (diff) | |
download | pfsense-6f6cc3c84d81f6f6dbbf57a4fe4b58de3daca6d5.zip pfsense-6f6cc3c84d81f6f6dbbf57a4fe4b58de3daca6d5.tar.gz |
Surround alias with {}
-rw-r--r-- | etc/inc/filter.inc | 4 |
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} }"; } |