aboutsummaryrefslogtreecommitdiffstats
path: root/config/pfblockerng/pfblockerng_alerts.php
diff options
context:
space:
mode:
authorBBcan177 <bbcan177@gmail.com>2015-05-23 16:45:07 -0400
committerBBcan177 <bbcan177@gmail.com>2015-05-23 16:45:07 -0400
commit7ac5dc3d8c7a5d4807f1004ca08e3bdd433af7c5 (patch)
tree36a962afb5860a07441a166713615a233d6e0bdd /config/pfblockerng/pfblockerng_alerts.php
parente80da3c57d0501d7a5962fcacd6416d47385e86a (diff)
downloadpfsense-packages-7ac5dc3d8c7a5d4807f1004ca08e3bdd433af7c5.tar.gz
pfsense-packages-7ac5dc3d8c7a5d4807f1004ca08e3bdd433af7c5.tar.bz2
pfsense-packages-7ac5dc3d8c7a5d4807f1004ca08e3bdd433af7c5.zip
pfBlockerNG v1.09 Code Style Changes
Diffstat (limited to 'config/pfblockerng/pfblockerng_alerts.php')
-rw-r--r--config/pfblockerng/pfblockerng_alerts.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/pfblockerng/pfblockerng_alerts.php b/config/pfblockerng/pfblockerng_alerts.php
index 25971ab5..bfb15c07 100644
--- a/config/pfblockerng/pfblockerng_alerts.php
+++ b/config/pfblockerng/pfblockerng_alerts.php
@@ -216,7 +216,7 @@ exec("/sbin/pfctl -vv -sr | grep 'pfB_'", $results);
if (!empty($results)) {
foreach ($results as $result) {
- # Find Rule Descriptions
+ // Find Rule Descriptions
$descr = "";
if (preg_match("/USER_RULE: (\w+)/",$result,$desc)) {
$descr = $desc[1];
@@ -225,7 +225,7 @@ if (!empty($results)) {
preg_match ("/@(\d+)\(/",$result, $rule);
$id = $rule[1];
- # Create array of Rule Description and pfctl Rule Number
+ // Create array of Rule Description and pfctl Rule Number
$rule_list['id'][] = $id;
$rule_list[$id]['name'] = $descr;
}
@@ -905,7 +905,7 @@ if (!empty($fields_array[$type]) && !empty($rule_list)) {
$country = substr(exec("$pathgeoip6 -f $pathgeoipdat6 $host"),26,2);
}
- # IP Query Grep Exclusion
+ // IP Query Grep Exclusion
$pfb_ex1 = "grep -v 'pfB\_\|\_v6\.txt'";
$pfb_ex2 = "grep -v 'pfB\_\|/32\|/24\|\_v6\.txt' | grep -m1 '/'";
@@ -967,7 +967,7 @@ if (!empty($fields_array[$type]) && !empty($rule_list)) {
$pfb_query = "No Match";
}
- # Split List Column into Two lines.
+ // Split List Column into Two lines.
unset ($pfb_match);
if ($pfb_query == "No Match") {
$pfb_match[1] = "{$pfb_query}";