summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-03-08 03:05:12 +0000
committerErmal Luçi <eri@pfsense.org>2009-03-08 03:05:12 +0000
commit884a12b768cede4a5007fff6e3e31c9e6ba617c3 (patch)
tree71e298d7416db31f9f9e90c3e35df0cb78643c6a /usr
parentfceb246e684717792d9c00d162eaa8da10d1d423 (diff)
downloadpfsense-884a12b768cede4a5007fff6e3e31c9e6ba617c3.zip
pfsense-884a12b768cede4a5007fff6e3e31c9e6ba617c3.tar.gz
Use single quotes rather
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/diag_logs_filter.php2
-rwxr-xr-xusr/local/www/diag_logs_filter_dynamic.php2
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;
}
OpenPOWER on IntegriCloud