mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Printing score only when > 0
This commit is contained in:
parent
bd2bf91882
commit
240c7c0e84
4 changed files with 6 additions and 6 deletions
|
|
@ -486,7 +486,7 @@ for _key, value in ipairs(flows_stats) do -- pairsByValues(vals, funct) do
|
|||
|
||||
local info = value["info"]
|
||||
|
||||
if(value["score"] >= 0) then
|
||||
if(value["score"] > 0) then
|
||||
info = info .. string.format(" [<b>score: %u</b>]", value["score"])
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue