summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_logs_filter.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-03-08 03:03:58 +0000
committerErmal Luçi <eri@pfsense.org>2009-03-08 03:03:58 +0000
commitfceb246e684717792d9c00d162eaa8da10d1d423 (patch)
tree8822d96fc101fbea9600d5a144803a26e75d74ab /usr/local/www/diag_logs_filter.php
parentb5cb5956b235f63a25f74db74ed96408a5e3cd70 (diff)
downloadpfsense-fceb246e684717792d9c00d162eaa8da10d1d423.zip
pfsense-fceb246e684717792d9c00d162eaa8da10d1d423.tar.gz
Show only the rule that triggered the action when clicking the Action icon.
Diffstat (limited to 'usr/local/www/diag_logs_filter.php')
-rwxr-xr-xusr/local/www/diag_logs_filter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_logs_filter.php b/usr/local/www/diag_logs_filter.php
index f5e279f..ea5c2cd 100755
--- a/usr/local/www/diag_logs_filter.php
+++ b/usr/local/www/diag_logs_filter.php
@@ -44,7 +44,7 @@ if($_GET['getrulenum'] or $_POST['getrulenum']) {
$rulenum = escapeshellarg($_GET['getrulenum']);
if($_POST['getrulenum'])
$rulenum = escapeshellarg($_POST['getrulenum']);
- $rule = `pfctl -vvsr | grep @{$rulenum}`;
+ $rule = `pfctl -vvsr | grep "@{$rulenum} "`;
echo "The rule that triggered this action is:\n\n{$rule}";
exit;
}
OpenPOWER on IntegriCloud