mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Warning fix
This commit is contained in:
parent
f7180631f5
commit
c2656061fb
1 changed files with 5 additions and 1 deletions
|
|
@ -186,7 +186,11 @@ if(hosts_stats ~= nil) then
|
|||
elseif(sortColumn == "column_traffic") then
|
||||
vals[hosts_stats[key]["bytes.sent"]+hosts_stats[key]["bytes.rcvd"]+postfix] = key
|
||||
elseif(sortColumn == "column_thpt") then
|
||||
vals[hosts_stats[key]["throughput_"..throughput_type]+postfix] = key
|
||||
local v = hosts_stats[key]["throughput_"..throughput_type]
|
||||
|
||||
if(v ~= nil) then
|
||||
vals[v+postfix] = key
|
||||
end
|
||||
elseif(sortColumn == "column_queries") then
|
||||
vals[hosts_stats[key]["queries.rcvd"]+postfix] = key
|
||||
elseif(sortColumn == "column_ip") then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue