summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-09-25 17:47:37 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-09-25 17:47:37 +0000
commitdae44b997fed391cd12009e604d414a87d07513d (patch)
treed27ef7ccd370f20c8fbfb6d9572b07caf1b4a5fc /usr
parent24bf6514ee5c28af02b4d42fe1d8fd5742eb9176 (diff)
downloadpfsense-dae44b997fed391cd12009e604d414a87d07513d.zip
pfsense-dae44b997fed391cd12009e604d414a87d07513d.tar.gz
Remove ip address check and allow hostnames
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_aliases_edit.php4
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.";
OpenPOWER on IntegriCloud