summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_out_edit.php
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2011-02-04 04:32:00 -0700
committerErik Fonnesbeck <efonnes@gmail.com>2011-02-04 04:51:25 -0700
commitb663d4ce60e474386ce38bd81f18228383cfd7cf (patch)
tree1e6f3089fe9b3dbd2dfa3e3bf010f3d0603a295b /usr/local/www/firewall_nat_out_edit.php
parent393cd3fc9721438f309e8f9850fce12b8890a950 (diff)
downloadpfsense-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-xusr/local/www/firewall_nat_out_edit.php3
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.");
OpenPOWER on IntegriCloud