summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_logs_filter.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-08-25 09:36:21 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-08-25 09:36:21 -0300
commit96a53ec7a9694e93dfab9304db0c89af8c091265 (patch)
tree4ba637442a53f94b25a2d86c772633dd668b6334 /usr/local/www/diag_logs_filter.php
parent4219c7b286b05207bea5521be407ead97f1474ef (diff)
downloadpfsense-96a53ec7a9694e93dfab9304db0c89af8c091265.zip
pfsense-96a53ec7a9694e93dfab9304db0c89af8c091265.tar.gz
Remove 'reject' action from filter logs since reject and block are the same on logs, it should fix #3825
Diffstat (limited to 'usr/local/www/diag_logs_filter.php')
-rw-r--r--usr/local/www/diag_logs_filter.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/local/www/diag_logs_filter.php b/usr/local/www/diag_logs_filter.php
index d12ad43..5595fc6 100644
--- a/usr/local/www/diag_logs_filter.php
+++ b/usr/local/www/diag_logs_filter.php
@@ -91,9 +91,8 @@ if ($filterlogentries_submit) {
$actpass = getGETPOSTsettingvalue('actpass', null);
$actblock = getGETPOSTsettingvalue('actblock', null);
- $actreject = getGETPOSTsettingvalue('actreject', null);
- $filterfieldsarray['act'] = str_replace(" ", " ", trim($actpass . " " . $actblock . " " . $actreject));
+ $filterfieldsarray['act'] = str_replace(" ", " ", trim($actpass . " " . $actblock));
$filterfieldsarray['act'] = $filterfieldsarray['act'] != "" ? $filterfieldsarray['act'] : 'All';
$filterfieldsarray['time'] = getGETPOSTsettingvalue('filterlogentries_time', null);
$filterfieldsarray['interface'] = getGETPOSTsettingvalue('filterlogentries_interfaces', null);
@@ -175,7 +174,6 @@ include("head.inc");
<div align="left">
<input id="actpass" name="actpass" type="checkbox" value="Pass" <?php if (in_arrayi('Pass', $Include_Act)) echo "checked=\"checked\""; ?> /> Pass<br />
<input id="actblock" name="actblock" type="checkbox" value="Block" <?php if (in_arrayi('Block', $Include_Act)) echo "checked=\"checked\""; ?> /> Block<br />
- <input id="actreject" name="actreject" type="checkbox" value="Reject" <?php if (in_arrayi('Reject', $Include_Act)) echo "checked=\"checked\""; ?> /> Reject<br />
</div>
</td>
<td>
OpenPOWER on IntegriCloud