mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Optimizes mac manuf id <-> manuf name cache
This commit is contained in:
parent
cba2a4440b
commit
031c4c4d4f
2 changed files with 36 additions and 28 deletions
|
|
@ -281,7 +281,6 @@ for key,value in pairs(stats_by_group_col) do
|
|||
vals[key] = v["queries.rcvd"]
|
||||
elseif(sortColumn == "column_manufacturer") then
|
||||
local m = get_manufacturer_mac(key)
|
||||
if(m == nil) then m = "" end
|
||||
vals[key] = m
|
||||
else
|
||||
vals[key] = (v["bytes.sent"] + v["bytes.rcvd"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue