mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Added traceback in case of nil score
This commit is contained in:
parent
3db8cc6cc8
commit
3f214341ea
18 changed files with 31 additions and 19 deletions
|
|
@ -267,7 +267,7 @@ for _key, value in ipairs(flows_stats) do -- pairsByValues(vals, funct) do
|
|||
local column_proto_l4 = ''
|
||||
|
||||
if value["predominant_alert"] then
|
||||
column_proto_l4 = alert_consts.alertTypeIcon(value["predominant_alert"], ntop.mapScoreToSeverity(value["predominant_alert_score"]))
|
||||
column_proto_l4 = alert_consts.alertTypeIcon(value["predominant_alert"], map_score_to_severity(value["predominant_alert_score"]))
|
||||
end
|
||||
|
||||
column_proto_l4 = column_proto_l4..value["proto.l4"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue