summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2013-01-05 08:54:36 -0700
committerErik Fonnesbeck <efonnes@gmail.com>2013-01-05 08:59:34 -0700
commitdcb4155504df9994c6c95e6bd511076b23e531af (patch)
tree156d2e1293010d2db72a095ef2e870af2f72eea6
parentd5d6c0add7954f2fc6d3bae08190e598a152f145 (diff)
downloadpfsense-dcb4155504df9994c6c95e6bd511076b23e531af.zip
pfsense-dcb4155504df9994c6c95e6bd511076b23e531af.tar.gz
Do not skip displaying outbound NAT rules with no interface or an invalid interface; it interferes with editing/deleting the skipped rule itself or rules after it.
-rwxr-xr-xusr/local/www/firewall_nat_out.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php
index 3c3fc54..02ef317 100755
--- a/usr/local/www/firewall_nat_out.php
+++ b/usr/local/www/firewall_nat_out.php
@@ -368,14 +368,6 @@ include("head.inc");
</td>
</tr>
<?php $nnats = $i = 0; foreach ($a_out as $natent): ?>
- <?php
- global $FilterIflist;
- if(empty($FilterIflist)) {
- filter_generate_optcfg_array();
- }
- if (!$natent['interface'] || !isset($FilterIflist[$natent['interface']]))
- continue;
- ?>
<tr valign="top" id="fr<?=$nnats;?>">
<td class="listt"><input type="checkbox" id="frc<?=$nnats;?>" name="rule[]" value="<?=$i;?>" onClick="fr_bgcolor('<?=$nnats;?>')" style="margin: 0; padding: 0; width: 15px; height: 15px;"></td>
<td class="listt" align="center"></td>
OpenPOWER on IntegriCloud