From 68150d1730167307e744a09a708e6306010a560b Mon Sep 17 00:00:00 2001 From: Marcello Coutinho Date: Fri, 11 Sep 2015 00:30:02 +0000 Subject: [PATCH] hitcount - codestyle fixes --- src/etc/inc/rule_count.inc | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/etc/inc/rule_count.inc b/src/etc/inc/rule_count.inc index 86784e27517..53f2db294b1 100644 --- a/src/etc/inc/rule_count.inc +++ b/src/etc/inc/rule_count.inc @@ -1,24 +1,23 @@ $m2[1],'Packets'=>$m2[2],'Bytes'=>$m2[3],'States'=>$m2[4],'Label'=>$rl,'RuleId'=>$rid); + } else { + $rules_count_array[$cr]=array('Evaluations'=>$m2[1],'Packets'=>$m2[2],'Bytes'=>$m2[3],'States'=>$m2[4],'Label'=>$rl,'RuleId'=>$rid); } } }