mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Partially fixes (#6790)
This commit is contained in:
parent
b730d5cdc0
commit
56d941f4fa
4 changed files with 15 additions and 6 deletions
|
|
@ -278,14 +278,14 @@ for _key, value in ipairs(flows_stats) do -- pairsByValues(vals, funct) do
|
|||
record["column_proto_l4"] = column_proto_l4
|
||||
|
||||
local app = getApplicationLabel(value["proto.ndpi"])
|
||||
|
||||
|
||||
if(value["verdict.pass"] == false) then
|
||||
app = "<strike>"..app.."</strike>"
|
||||
end
|
||||
end
|
||||
|
||||
record["column_ndpi"] = app -- can't set the hosts_stats hyperlink for viewed interfaces
|
||||
if((not ifstats.isViewed) and (value["proto.ndpi_id"] ~= -1)) then
|
||||
record["column_ndpi"] = "<A HREF='".. ntop.getHttpPrefix().."/lua/hosts_stats.lua?protocol=" .. value["proto.ndpi_id"] .."'>"..app.." " .. formatBreed(value["proto.ndpi_breed"], value["proto.is_encrypted"]) .."</A>"
|
||||
record["column_ndpi"] = "<A HREF='".. ntop.getHttpPrefix().."/lua/flows_stats.lua?application=" .. value["proto.ndpi_id"] .."'&ifid='" .. ifid .. "'>"..app.." " .. formatBreed(value["proto.ndpi_breed"], value["proto.is_encrypted"]) .."</A>"
|
||||
record["column_ndpi"] = record["column_ndpi"] .. " " .. format_confidence_badge(value["confidence"])
|
||||
end
|
||||
record["column_duration"] = secondsToTime(value["duration"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue