diff options
author | jim-p <jim@pingle.org> | 2009-11-15 14:25:26 -0500 |
---|---|---|
committer | jim-p <jim@pingle.org> | 2009-11-15 14:26:14 -0500 |
commit | 2e52447a3947bc5bc735ba55d94c550ed2efa5b4 (patch) | |
tree | 56aee78a0854d7835ab351ed1dbc928b69beec27 /config/widget-snort/snort_alerts.js | |
parent | c723ce846d1b8042c33f7220892846ce7769f939 (diff) | |
download | pfsense-packages-2e52447a3947bc5bc735ba55d94c550ed2efa5b4.tar.gz pfsense-packages-2e52447a3947bc5bc735ba55d94c550ed2efa5b4.tar.bz2 pfsense-packages-2e52447a3947bc5bc735ba55d94c550ed2efa5b4.zip |
Snort widget update from matrix200
Diffstat (limited to 'config/widget-snort/snort_alerts.js')
-rw-r--r-- | config/widget-snort/snort_alerts.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/widget-snort/snort_alerts.js b/config/widget-snort/snort_alerts.js index 2eebb140..0cc76ab1 100644 --- a/config/widget-snort/snort_alerts.js +++ b/config/widget-snort/snort_alerts.js @@ -72,10 +72,11 @@ function snort_alerts_fetch_new_rules_callback(callback_data) { /* loop through rows */ row_split = data_split[x].split("||"); var line = ''; - line = '<td width="30%" class="listr" >' + row_split[6] + '<br>' + row_split[7]+ '</td>'; + line = '<td width="30%" class="listr" >' + row_split[6] + '<br>' + row_split[7]+ '</td>'; line += '<td width="40%" class="listr" >' + row_split[3] + '<br>' + row_split[4] + '</td>'; line += '<td width="40%" class="listr" >' + 'Pri : ' + row_split[1] + '<br>' + 'Cat : ' + row_split[2] + '</td>'; snortlastsawtime = row_split[5]; + //alert(row_split[0]); new_data_to_add[new_data_to_add.length] = line; } snort_alerts_update_div_rows(new_data_to_add); @@ -141,4 +142,4 @@ function snort_alerts_toggle_pause() { } } /* start local AJAX engine */ -snorttimer = setInterval('snort_alerts_fetch_new_rules()', snortupdateDelay);
\ No newline at end of file +snorttimer = setInterval('snort_alerts_fetch_new_rules()', snortupdateDelay); |