diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-07-22 18:24:40 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-07-22 18:25:06 +0000 |
commit | 92b9f237ef1bfb3dc82f88ece53845bfaafd5d62 (patch) | |
tree | 761efaef9a05ffe4fc21898fe74301d9652d73be /usr | |
parent | 7258e0355dc9a8c90a9dc3ec9cfcec462a131c90 (diff) | |
download | pfsense-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-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 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}"] <> "") { |