diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2011-02-04 04:32:00 -0700 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2011-02-04 04:51:25 -0700 |
commit | b663d4ce60e474386ce38bd81f18228383cfd7cf (patch) | |
tree | 1e6f3089fe9b3dbd2dfa3e3bf010f3d0603a295b /usr/local/www/firewall_nat_out_edit.php | |
parent | 393cd3fc9721438f309e8f9850fce12b8890a950 (diff) | |
download | pfsense-b663d4ce60e474386ce38bd81f18228383cfd7cf.zip pfsense-b663d4ce60e474386ce38bd81f18228383cfd7cf.tar.gz |
Remove redundant input validation for source port that also prevents use of port ranges.
Diffstat (limited to 'usr/local/www/firewall_nat_out_edit.php')
-rwxr-xr-x | usr/local/www/firewall_nat_out_edit.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/usr/local/www/firewall_nat_out_edit.php b/usr/local/www/firewall_nat_out_edit.php index f03bded..c0308bb 100755 --- a/usr/local/www/firewall_nat_out_edit.php +++ b/usr/local/www/firewall_nat_out_edit.php @@ -139,9 +139,6 @@ if ($_POST) { if ($_POST['source_subnet'] && !is_numericint($_POST['source_subnet'])) { $input_errors[] = gettext("A valid source bit count must be specified."); } - if ($protocol_uses_ports && $_POST['sourceport'] && !is_numericint($_POST['sourceport'])) { - $input_errors[] = gettext("A valid source port must be specified."); - } if ($_POST['destination_type'] != "any") { if ($_POST['destination'] && !is_ipaddr($_POST['destination'])) { $input_errors[] = gettext("A valid destination must be specified."); |