summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2010-04-26 16:22:13 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2010-04-26 16:22:13 -0300
commit573e8df20c13c4a40ec9cf80f3e1824d17042b6f (patch)
treecaed96560a1ea92d91f4314c4037b5ebbedb6b36
parentec0d9beffa2cb0ee6018c989beecc0f2916a3f77 (diff)
downloadpfsense-573e8df20c13c4a40ec9cf80f3e1824d17042b6f.zip
pfsense-573e8df20c13c4a40ec9cf80f3e1824d17042b6f.tar.gz
Remove option 'any' from Destination Port Range
-rwxr-xr-xusr/local/www/firewall_nat_edit.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/local/www/firewall_nat_edit.php b/usr/local/www/firewall_nat_edit.php
index 8733cde..c7d5a92 100755
--- a/usr/local/www/firewall_nat_edit.php
+++ b/usr/local/www/firewall_nat_edit.php
@@ -668,7 +668,6 @@ include("fbegin.inc"); ?>
<td>
<select name="dstbeginport" class="formselect" onchange="dst_rep_change();ext_change()">
<option value="">(other)</option>
- <option value="any" <?php $bfound = 0; if ($pconfig['dstbeginport'] == "any") { echo "selected"; $bfound = 1; } ?>>any</option>
<?php foreach ($wkports as $wkport => $wkportdesc): ?>
<option value="<?=$wkport;?>" <?php if ($wkport == $pconfig['dstbeginport']) { echo "selected"; $bfound = 1; }?>><?=htmlspecialchars($wkportdesc);?></option>
<?php endforeach; ?>
@@ -681,7 +680,6 @@ include("fbegin.inc"); ?>
<td>
<select name="dstendport" class="formselect" onchange="ext_change()">
<option value="">(other)</option>
- <option value="any" <?php $bfound = 0; if ($pconfig['dstendport'] == "any") { echo "selected"; $bfound = 1; } ?>>any</option>
<?php foreach ($wkports as $wkport => $wkportdesc): ?>
<option value="<?=$wkport;?>" <?php if ($wkport == $pconfig['dstendport']) { echo "selected"; $bfound = 1; } ?>><?=htmlspecialchars($wkportdesc);?></option>
<?php endforeach; ?>
OpenPOWER on IntegriCloud