aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev/snort_interfaces.php
diff options
context:
space:
mode:
authorthompsa <andy@fud.org.nz>2010-01-28 09:56:32 +1300
committerthompsa <andy@fud.org.nz>2010-01-28 09:56:32 +1300
commitad5bea776f596612c08c8c6ab47fc8071c1ca1af (patch)
treeb3a85f1d3246c5263bd3c22c82eaa0330e77745f /config/snort-dev/snort_interfaces.php
parent6bb039a4d7d70997e484bbdf8be569c5be3338ac (diff)
downloadpfsense-packages-ad5bea776f596612c08c8c6ab47fc8071c1ca1af.tar.gz
pfsense-packages-ad5bea776f596612c08c8c6ab47fc8071c1ca1af.tar.bz2
pfsense-packages-ad5bea776f596612c08c8c6ab47fc8071c1ca1af.zip
Fix compile.
Diffstat (limited to 'config/snort-dev/snort_interfaces.php')
-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";