summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2010-04-24 19:31:59 -0400
committerChris Buechler <cmb@pfsense.org>2010-04-24 19:31:59 -0400
commit7d7992cd5b725e801e8979a4284a103b1803d5dc (patch)
tree3501125019eda221b6a199b698d364e4532a8a76
parent8ecf7cc733278a12d8aa00b0ded33c4b7c6f65e3 (diff)
downloadpfsense-7d7992cd5b725e801e8979a4284a103b1803d5dc.zip
pfsense-7d7992cd5b725e801e8979a4284a103b1803d5dc.tar.gz
remove this check here too, though it doesn't do anything as it's checking against non-existent ipaddr
-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 738ddc9..e8e2a05 100755
--- a/usr/local/www/firewall_virtual_ip_edit.php
+++ b/usr/local/www/firewall_virtual_ip_edit.php
@@ -100,16 +100,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['ipaddr'], 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