diff options
author | Chris Buechler <cmb@pfsense.org> | 2010-04-24 22:25:06 -0400 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2010-04-24 22:25:06 -0400 |
commit | 81a242773ee39eb1e2c25cafe279f02780a98de3 (patch) | |
tree | f641fe82abe1c712b498485dfe6d4563ab66e3e6 /usr/local/www/firewall_nat_1to1_edit.php | |
parent | e05b5278cf7fb238ee5355f9701be4c11869f1d2 (diff) | |
download | pfsense-81a242773ee39eb1e2c25cafe279f02780a98de3.zip pfsense-81a242773ee39eb1e2c25cafe279f02780a98de3.tar.gz |
remove unnecessary input validation checks
Diffstat (limited to 'usr/local/www/firewall_nat_1to1_edit.php')
-rwxr-xr-x | usr/local/www/firewall_nat_1to1_edit.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/usr/local/www/firewall_nat_1to1_edit.php b/usr/local/www/firewall_nat_1to1_edit.php index daf5927..d7ed094 100755 --- a/usr/local/www/firewall_nat_1to1_edit.php +++ b/usr/local/www/firewall_nat_1to1_edit.php @@ -114,17 +114,6 @@ if ($_POST) { } } - /* check for overlaps with advanced outbound NAT */ - if (is_array($config['nat']['advancedoutbound']['rule'])) { - foreach ($config['nat']['advancedoutbound']['rule'] as $natent) { - if ($natent['target'] && - check_subnets_overlap($_POST['external'], $_POST['subnet'], $natent['target'], 32)) { - $input_errors[] = "An advanced outbound NAT entry overlaps with the specified external subnet."; - break; - } - } - } - if (!$input_errors) { $natent = array(); |