summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-09-07 03:41:30 +0000
committerBill Marquette <billm@pfsense.org>2005-09-07 03:41:30 +0000
commit2a5b92152f71c5feb6810dfe7ba58eff594e15d4 (patch)
treeceb7a621448cb48430a38a648997bf891450bd70 /etc/inc
parent0df6adf8df8ed6b828167f8609e7d1de24018609 (diff)
downloadpfsense-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.inc10
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))
OpenPOWER on IntegriCloud