mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Implements Mac stats/data reset and reset at midnight (#2326)
* Host data/stats delete improvements * Rework mac counters and implemtent mac stats/data reset * Implement stats reset at midnight * Add missing files
This commit is contained in:
parent
2755b18dee
commit
1bf7da7ef7
25 changed files with 493 additions and 117 deletions
|
|
@ -1615,7 +1615,7 @@ function hostinfo2hostkey(host_info,host_type,show_vlan)
|
|||
end
|
||||
|
||||
if(((host_info["vlan"] ~= nil) and (host_info["vlan"] ~= 0))
|
||||
or ((show_vlan ~= nil) and show_vlan)) then
|
||||
or ((show_vlan ~= nil) and show_vlan and (host_info["vlan"] ~= nil))) then
|
||||
rsp = rsp..'@'..tostring(host_info["vlan"])
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue