summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2010-04-24 19:04:30 -0400
committerChris Buechler <cmb@pfsense.org>2010-04-24 19:04:30 -0400
commitee8c38898ddc37bb606c86ff9258ff11014edff1 (patch)
tree96f6082aec9c6adf0fe8c45715a2f8678399ef86 /usr/local
parent1b8048a1eb7f7b15e35f5244c2a2cde8d5651b5e (diff)
downloadpfsense-ee8c38898ddc37bb606c86ff9258ff11014edff1.zip
pfsense-ee8c38898ddc37bb606c86ff9258ff11014edff1.tar.gz
remove bunk input validation
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/firewall_virtual_ip_edit.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/usr/local/www/firewall_virtual_ip_edit.php b/usr/local/www/firewall_virtual_ip_edit.php
index 4b99f3f..096fb86 100755
--- a/usr/local/www/firewall_virtual_ip_edit.php
+++ b/usr/local/www/firewall_virtual_ip_edit.php
@@ -127,16 +127,6 @@ if ($_POST) {
}
}
- /* check for overlaps with 1:1 NAT */
- if (is_array($config['nat']['onetoone'])) {
- foreach ($config['nat']['onetoone'] as $natent) {
- if (check_subnets_overlap($_POST['subnet'], 32, $natent['external'], $natent['subnet'])) {
- $input_errors[] = "A 1:1 NAT mapping overlaps with the specified IP address.";
- break;
- }
- }
- }
-
/* make sure new ip is within the subnet of a valid ip
* on one of our interfaces (wan, lan optX)
*/
OpenPOWER on IntegriCloud