summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_1to1_edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-18 16:55:43 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-18 16:55:43 +0000
commitdf9d9281e3c516d72953917f1e5949b492a49388 (patch)
treef0b229e203261b6a18e7792a26169b979aae1b13 /usr/local/www/firewall_nat_1to1_edit.php
parent9f52feaabd8feb21bc1ec5bd4012a2cfa58bf947 (diff)
downloadpfsense-df9d9281e3c516d72953917f1e5949b492a49388.zip
pfsense-df9d9281e3c516d72953917f1e5949b492a49388.tar.gz
Allow multiple subnets to overlap. In PF its first come, first served.
Diffstat (limited to 'usr/local/www/firewall_nat_1to1_edit.php')
-rwxr-xr-xusr/local/www/firewall_nat_1to1_edit.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/firewall_nat_1to1_edit.php b/usr/local/www/firewall_nat_1to1_edit.php
index bf7abfa..388b93b 100755
--- a/usr/local/www/firewall_nat_1to1_edit.php
+++ b/usr/local/www/firewall_nat_1to1_edit.php
@@ -88,11 +88,11 @@ if ($_POST) {
continue;
if (check_subnets_overlap($_POST['external'], $_POST['subnet'], $natent['external'], $natent['subnet'])) {
- $input_errors[] = "Another 1:1 rule overlaps with the specified external subnet.";
- break;
+ //$input_errors[] = "Another 1:1 rule overlaps with the specified external subnet.";
+ //break;
} else if (check_subnets_overlap($_POST['internal'], $_POST['subnet'], $natent['internal'], $natent['subnet'])) {
- $input_errors[] = "Another 1:1 rule overlaps with the specified internal subnet.";
- break;
+ //$input_errors[] = "Another 1:1 rule overlaps with the specified internal subnet.";
+ //break;
}
}
OpenPOWER on IntegriCloud