diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-03-08 03:05:12 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-03-08 03:05:12 +0000 |
commit | 884a12b768cede4a5007fff6e3e31c9e6ba617c3 (patch) | |
tree | 71e298d7416db31f9f9e90c3e35df0cb78643c6a /usr | |
parent | fceb246e684717792d9c00d162eaa8da10d1d423 (diff) | |
download | pfsense-884a12b768cede4a5007fff6e3e31c9e6ba617c3.zip pfsense-884a12b768cede4a5007fff6e3e31c9e6ba617c3.tar.gz |
Use single quotes rather
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/diag_logs_filter.php | 2 | ||||
-rwxr-xr-x | usr/local/www/diag_logs_filter_dynamic.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/diag_logs_filter.php b/usr/local/www/diag_logs_filter.php index ea5c2cd..54c4f07 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; } diff --git a/usr/local/www/diag_logs_filter_dynamic.php b/usr/local/www/diag_logs_filter_dynamic.php index 63ac3b2..f9ea26c 100755 --- a/usr/local/www/diag_logs_filter_dynamic.php +++ b/usr/local/www/diag_logs_filter_dynamic.php @@ -423,7 +423,7 @@ function handle_ajax() { $rulenum = $_GET['getrulenum']; if($_POST['getrulenum']) $rulenum = $_POST['getrulenum']; - $rule = `pfctl -vvsr | grep "@{$rulenum} "`; + $rule = `pfctl -vvsr | grep '@{$rulenum} '`; echo "The rule that triggered this action is:\n\n{$rule}"; exit; } |