summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_aliases_edit.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-12-09 12:45:16 +0000
committerErmal Luçi <eri@pfsense.org>2009-12-09 12:45:16 +0000
commit712b72d7c7f20ffcc8b1fd01fd8af5052074dbf9 (patch)
tree332fc31eb4150af602fe445277715a8e73757b1c /usr/local/www/firewall_aliases_edit.php
parent984c64a43ba1ea8735175a6adb37eddaa2e3f88c (diff)
downloadpfsense-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-xusr/local/www/firewall_aliases_edit.php2
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}"]))
OpenPOWER on IntegriCloud