summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-05-31 17:55:08 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-05-31 17:55:08 +0000
commit00fa955eac3b6602c4966a25854aaad8ae0d6a7f (patch)
treee596de2acf5debb13ee9142373a98ad7a9ba6fb1 /usr
parent3d24150f4b01ea8700d82e68afdc09fa4f11ca46 (diff)
downloadpfsense-00fa955eac3b6602c4966a25854aaad8ae0d6a7f.zip
pfsense-00fa955eac3b6602c4966a25854aaad8ae0d6a7f.tar.gz
Allow "any" as a source network on nat mappings
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_nat_out_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_nat_out_edit.php b/usr/local/www/firewall_nat_out_edit.php
index 7c68eed..e713fe3 100755
--- a/usr/local/www/firewall_nat_out_edit.php
+++ b/usr/local/www/firewall_nat_out_edit.php
@@ -84,7 +84,7 @@ if ($_POST) {
do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
- if ($_POST['source'] && !is_ipaddr($_POST['source'])) {
+ if ($_POST['source'] && !is_ipaddr($_POST['source']) && $_POST['source'] <> "any") {
$input_errors[] = "A valid source must be specified.";
}
if ($_POST['source_subnet'] && !is_numericint($_POST['source_subnet'])) {
OpenPOWER on IntegriCloud