diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-12-09 12:45:16 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-12-09 12:45:16 +0000 |
commit | 712b72d7c7f20ffcc8b1fd01fd8af5052074dbf9 (patch) | |
tree | 332fc31eb4150af602fe445277715a8e73757b1c /usr/local/www/firewall_aliases_edit.php | |
parent | 984c64a43ba1ea8735175a6adb37eddaa2e3f88c (diff) | |
download | pfsense-712b72d7c7f20ffcc8b1fd01fd8af5052074dbf9.zip pfsense-712b72d7c7f20ffcc8b1fd01fd8af5052074dbf9.tar.gz |
Add listtopic and note that only ip addresses may be imported.
Diffstat (limited to 'usr/local/www/firewall_aliases_edit.php')
-rwxr-xr-x | usr/local/www/firewall_aliases_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php index c90e34d..b45f736 100755 --- a/usr/local/www/firewall_aliases_edit.php +++ b/usr/local/www/firewall_aliases_edit.php @@ -255,7 +255,7 @@ if ($_POST) { if (!alias_same_type($_POST["address{$x}"], $_POST['type'])) $wrongaliases .= " " . $_POST["address{$x}"]; } else if ($_POST['type'] == "port") { - if (!is_port($_POST["address{$x}"]) + if (!is_port($_POST["address{$x}"])) $input_errors[] = $_POST["address{$x}"] . " is not a valid port alias."; } else if ($_POST['type'] == "host" || $_POST['type'] == "network") { if (!is_ipaddr($_POST["address{$x}"]) && !is_hostname($_POST["address{$x}"])) |