summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_virtual_ip_edit.php
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2010-04-26 09:00:24 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2010-04-26 09:00:24 -0300
commita94ee3fa3009841bf3fed7e7e23c0d2f92d39360 (patch)
tree5cf804ba98e1c394528a8a32c2372bc24219ac06 /usr/local/www/firewall_virtual_ip_edit.php
parentc8efb62840cec2fb9ebabe22c3279384f07531ca (diff)
parent67d5b508edd6a2f84b33a6c82da9dff8b74909f1 (diff)
downloadpfsense-a94ee3fa3009841bf3fed7e7e23c0d2f92d39360.zip
pfsense-a94ee3fa3009841bf3fed7e7e23c0d2f92d39360.tar.gz
Merge remote branch 'mainline/master'
Diffstat (limited to 'usr/local/www/firewall_virtual_ip_edit.php')
-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 83d9d9a..89e473a 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