diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-06 22:15:08 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-06 22:15:08 +0000 |
commit | cade3bb9de0c8552388e80b97a0e53392001c17f (patch) | |
tree | 11cd9a0eeab43094ac1dfd81234c92bc9762d934 /usr/local/www/firewall_aliases_edit.php | |
parent | 6ec0a88fcb2983b19a77b54a32fabcad87c934f3 (diff) | |
download | pfsense-cade3bb9de0c8552388e80b97a0e53392001c17f.zip pfsense-cade3bb9de0c8552388e80b97a0e53392001c17f.tar.gz |
Remove reserved words check. Its not working correctly.
Diffstat (limited to 'usr/local/www/firewall_aliases_edit.php')
-rwxr-xr-x | usr/local/www/firewall_aliases_edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php index 8a01de9..e744492 100755 --- a/usr/local/www/firewall_aliases_edit.php +++ b/usr/local/www/firewall_aliases_edit.php @@ -83,8 +83,8 @@ if ($_POST) { if (($_POST['name'] && (is_validaliasname($_POST['name']) == false))) { $input_errors[] = "The alias name may only consist of the characters a-z, A-Z, 0-9."; } - if (($_POST['name'] && (is_validaliasname($_POST['name']) == -1))) { - $input_errors[] = "Reserved word used for alias name."; + if (($_POST['name'] && (is_validaliasname($_POST['name']) == -2))) { + //$input_errors[] = "Reserved word used for alias name."; } if ($_POST['type'] == "host") if (!is_ipaddr($_POST['address'])) { |