aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/snort-dev/snort_interfaces.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/snort-dev/snort_interfaces.php b/config/snort-dev/snort_interfaces.php
index 55f729f5..5d98105e 100644
--- a/config/snort-dev/snort_interfaces.php
+++ b/config/snort-dev/snort_interfaces.php
@@ -276,7 +276,7 @@ padding: 15px 10px 50% 50px;
$if_real = convert_friendly_interface_to_real_interface_name($natent['interface']);
$snort_pid = exec("pgrep -F /var/run/snort_{$if_real}{$nnats}{$if_real}.pid snort");
- if ($snort_pid)
+ if ($snort_pid) {
$class_color_up = "listbg2";
$iconfn = "block";
}else{
@@ -340,7 +340,7 @@ padding: 15px 10px 50% 50px;
<?php
$byard_pid = exec("pgrep -F /var/run/barnyard2_{$nnats}{$if_real}.pid barnyard2");
- if ($byard_pid)
+ if ($byard_pid) {
$class_color_upb = "listbg2";
}else{
$class_color_upb = "listbg";