diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-03-08 03:03:58 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-03-08 03:03:58 +0000 |
commit | fceb246e684717792d9c00d162eaa8da10d1d423 (patch) | |
tree | 8822d96fc101fbea9600d5a144803a26e75d74ab /usr/local/www/diag_logs_filter.php | |
parent | b5cb5956b235f63a25f74db74ed96408a5e3cd70 (diff) | |
download | pfsense-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-x | usr/local/www/diag_logs_filter.php | 2 |
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; } |