diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-11-18 16:55:43 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-11-18 16:55:43 +0000 |
commit | df9d9281e3c516d72953917f1e5949b492a49388 (patch) | |
tree | f0b229e203261b6a18e7792a26169b979aae1b13 /usr/local | |
parent | 9f52feaabd8feb21bc1ec5bd4012a2cfa58bf947 (diff) | |
download | pfsense-df9d9281e3c516d72953917f1e5949b492a49388.zip pfsense-df9d9281e3c516d72953917f1e5949b492a49388.tar.gz |
Allow multiple subnets to overlap. In PF its first come, first served.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/firewall_nat_1to1_edit.php | 8 |
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; } } |