mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Implement initial flow score support
This commit is contained in:
parent
d2fc1f3b0b
commit
2d02de6cc1
11 changed files with 169 additions and 7 deletions
|
|
@ -486,6 +486,10 @@ for _key, value in ipairs(flows_stats) do -- pairsByValues(vals, funct) do
|
|||
|
||||
local info = value["info"]
|
||||
|
||||
if(value["score"] >= 0) then
|
||||
info = info .. string.format(" [<b>score: %u</b>]", value["score"])
|
||||
end
|
||||
|
||||
record["column_info"] = info
|
||||
|
||||
formatted_res[#formatted_res + 1] = record
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue