Additional fixes for tcp flags stats and use of json library

This commit is contained in:
Simone Mainardi 2020-01-02 19:20:07 +01:00
parent 8a169991cb
commit 9d4df32f13
5 changed files with 39 additions and 51 deletions

View file

@ -237,7 +237,6 @@ for _key, value in ipairs(flows_stats) do -- pairsByValues(vals, funct) do
end
local column_proto_l4 = ''
if value["alerted_status"] then
local status_info = flow_consts.getStatusDescription(value["alerted_status"], flow2statusinfo(value))
column_proto_l4 = "<i class='fas fa-exclamation-triangle' style='color: #B94A48' title='"..noHtml(status_info) .."'></i> "