diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-09-25 17:47:37 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-09-25 17:47:37 +0000 |
commit | dae44b997fed391cd12009e604d414a87d07513d (patch) | |
tree | d27ef7ccd370f20c8fbfb6d9572b07caf1b4a5fc /usr | |
parent | 24bf6514ee5c28af02b4d42fe1d8fd5742eb9176 (diff) | |
download | pfsense-dae44b997fed391cd12009e604d414a87d07513d.zip pfsense-dae44b997fed391cd12009e604d414a87d07513d.tar.gz |
Remove ip address check and allow hostnames
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/firewall_aliases_edit.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php index d153637..e7ec50a 100755 --- a/usr/local/www/firewall_aliases_edit.php +++ b/usr/local/www/firewall_aliases_edit.php @@ -113,10 +113,6 @@ if ($_POST) { if (is_validaliasname($_POST['name']) == false) $input_errors[] = "The alias name may only consist of the characters a-z, A-Z, 0-9, _."; } - if ($_POST['type'] == "host") - if (!is_ipaddr($_POST['address'])) { - $input_errors[] = "A valid address must be specified."; - } if ($_POST['type'] == "network") { if (!is_ipaddr($_POST['address'])) { $input_errors[] = "A valid address must be specified."; |