summaryrefslogtreecommitdiffstats
path: root/etc/inc/util.inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-12-22 13:43:18 +0000
committerErmal Luçi <eri@pfsense.org>2009-12-22 13:43:18 +0000
commita584475a8facd93b54ba1419d6cf5a736a500bf6 (patch)
tree5e8f28993de64bf22a10a16d20bdd9585967abbc /etc/inc/util.inc
parente5dcdd6554d1c019f1d6ce550aba9dcf44f6534b (diff)
downloadpfsense-a584475a8facd93b54ba1419d6cf5a736a500bf6.zip
pfsense-a584475a8facd93b54ba1419d6cf5a736a500bf6.tar.gz
* Fix alias handling around the repo.
* Add new function filter_expand_alias to allow expanding single alias. * Fix reflection rules generation(missing the target variable) * Propperly identify duplicate lines in inetd.conf generated.
Diffstat (limited to 'etc/inc/util.inc')
-rw-r--r--etc/inc/util.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc
index b32daa3..92bb23f 100644
--- a/etc/inc/util.inc
+++ b/etc/inc/util.inc
@@ -681,7 +681,7 @@ function alias_expand($name) {
if (isset($aliastable[$name]))
return "\${$name}";
- else if (is_ipaddr($name) || is_subnet($name))
+ else if (is_ipaddr($name) || is_subnet($name) || is_port($name))
return "{$name}";
else
return null;
OpenPOWER on IntegriCloud