mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Implement interface L4 stats
This commit is contained in:
parent
dbbbeae461
commit
89f6544524
10 changed files with 60 additions and 31 deletions
|
|
@ -18,6 +18,7 @@ function callback_utils.foreachInterface(ifnames, condition, callback, get_direc
|
|||
for _,_ifname in pairs(ifnames) do
|
||||
if(ntop.isShutdown()) then return true end
|
||||
|
||||
-- NOTE: "eth" will be overwritten here for emulated directions
|
||||
interface.select(_ifname)
|
||||
local ifstats = interface.getStats(get_direction_stats)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue