mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Additional fixes after removal of NetworkInterfaceView
This commit is contained in:
parent
12aa4c7399
commit
116ffda7c8
3 changed files with 25 additions and 16 deletions
|
|
@ -6,11 +6,14 @@ dirs = ntop.getDirs()
|
|||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
|
||||
require "top_talkers"
|
||||
require "lua_utils"
|
||||
|
||||
local function getVLANList(ifid, ifname)
|
||||
interface.select(ifname)
|
||||
hosts_stats,total = aggregateHostsStats(interface.getHostsInfo())
|
||||
vlans,total = groupStatsByColumn(ifid, ifname, "vlan")
|
||||
|
||||
hosts_stats = interface.getHostsInfo()
|
||||
vlans,total = groupHostsStatsByColumn(ifid, ifname, "vlan")
|
||||
|
||||
return vlans
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue