summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-07-22 18:24:40 +0000
committerErmal Luçi <eri@pfsense.org>2009-07-22 18:25:06 +0000
commit92b9f237ef1bfb3dc82f88ece53845bfaafd5d62 (patch)
tree761efaef9a05ffe4fc21898fe74301d9652d73be /usr
parent7258e0355dc9a8c90a9dc3ec9cfcec462a131c90 (diff)
downloadpfsense-92b9f237ef1bfb3dc82f88ece53845bfaafd5d62.zip
pfsense-92b9f237ef1bfb3dc82f88ece53845bfaafd5d62.tar.gz
Allow to enter names in these fields for letting nested aliases to be specified.
Diffstat (limited to 'usr')
-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 6865d47..90c0673 100755
--- a/usr/local/www/firewall_aliases_edit.php
+++ b/usr/local/www/firewall_aliases_edit.php
@@ -195,7 +195,7 @@ if ($_POST) {
if ($isfirst > 0)
$address .= " ";
$address .= $_POST["address{$x}"];
- if($_POST["address_subnet{$x}"] <> "")
+ if(is_ipaddr($_POST["address{$x}"]) && $_POST["address_subnet{$x}"] <> "")
$address .= "/" . $_POST["address_subnet{$x}"];
if($_POST["detail{$x}"] <> "") {
OpenPOWER on IntegriCloud