diff options
author | Bill Marquette <billm@pfsense.org> | 2005-09-07 03:41:30 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-09-07 03:41:30 +0000 |
commit | 2a5b92152f71c5feb6810dfe7ba58eff594e15d4 (patch) | |
tree | ceb7a621448cb48430a38a648997bf891450bd70 /etc/inc | |
parent | 0df6adf8df8ed6b828167f8609e7d1de24018609 (diff) | |
download | pfsense-2a5b92152f71c5feb6810dfe7ba58eff594e15d4.zip pfsense-2a5b92152f71c5feb6810dfe7ba58eff594e15d4.tar.gz |
Aargh, test before commit!!! *smack*
Fixing stupid non-cleaned up copy/paste
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/util.inc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc index dbe7d16..1cb55aa 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -205,16 +205,6 @@ function is_macaddr($macaddr) { /* returns true if $name is a valid name for an alias */ function is_validaliasname($name) { - /* Array of reserved words */ - - if (!preg_match("/[^a-zA-Z0-9]/", $name)) - return true; - else - return false; -} - -/* returns true if $name is a valid name for an alias */ -function is_validaliasname($name) { /* Array of reserved words */ $reserved = array("port","pass"); if (in_array($name, $reserved, true)) |