aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-03-04 12:57:08 -0500
committerbmeeks8 <bmeeks8@bellsouth.net>2014-03-04 12:57:08 -0500
commit09ee53a7c9bbb16772b6db52da8b4f4f70338616 (patch)
treef239098c98fbb4fce60b431fb1f021212bca68f3 /config/suricata
parentf132caa07f3691132fbfb921840d1b9603a9f5b2 (diff)
downloadpfsense-packages-09ee53a7c9bbb16772b6db52da8b4f4f70338616.tar.gz
pfsense-packages-09ee53a7c9bbb16772b6db52da8b4f4f70338616.tar.bz2
pfsense-packages-09ee53a7c9bbb16772b6db52da8b4f4f70338616.zip
Fix "even/odd" table row class assigns in widget -- they were backwards.
Diffstat (limited to 'config/suricata')
-rw-r--r--config/suricata/suricata_alerts.widget.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/suricata/suricata_alerts.widget.php b/config/suricata/suricata_alerts.widget.php
index 9ba502f7..370c6e96 100644
--- a/config/suricata/suricata_alerts.widget.php
+++ b/config/suricata/suricata_alerts.widget.php
@@ -191,7 +191,7 @@ var suri_nentries = <?php echo $suri_nentries; ?>;
$counter=0;
if (is_array($suricata_alerts)) {
foreach ($suricata_alerts as $alert) {
- $evenRowClass = $counter % 2 ? " listMRodd" : " listMReven";
+ $evenRowClass = $counter % 2 ? " listMReven" : " listMRodd";
echo(" <tr class='" . $evenRowClass . "'>
<td width='22%' class='listMRr' nowrap>" . $alert['instanceid'] . " " . $alert['dateonly'] . "<br/>" . $alert['timeonly'] . "</td>
<td width='39%' class='listMRr'>" . $alert['src'] . ":" . $alert['srcport'] . "<br>" . $alert['dst'] . ":" . $alert['dstport'] . "</td>