diff options
author | Bill Marquette <billm@pfsense.org> | 2005-09-10 18:23:25 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-09-10 18:23:25 +0000 |
commit | 9d3f5df1b42ce3389e9e19864fdf33b9cee1cc1a (patch) | |
tree | 32cad628d51b0e15db8752f031bf43b7b24816e1 /etc/inc | |
parent | 0c2badde5a90cfb9d4641d90d549cb4ebbb78274 (diff) | |
download | pfsense-9d3f5df1b42ce3389e9e19864fdf33b9cee1cc1a.zip pfsense-9d3f5df1b42ce3389e9e19864fdf33b9cee1cc1a.tar.gz |
Return NULL if reserved word is matched (this wasn't a typo)
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/util.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc index c7f6473..1bd597d 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -209,7 +209,7 @@ function is_validaliasname($name) { /* Array of reserved words */ $reserved = array("port", "pass"); if (in_array($name, $reserved, true)) - return -1; + return; if (!preg_match("/[^a-zA-Z0-9]/", $name)) return true; |