Implement interface L4 stats

This commit is contained in:
emanuele-f 2019-05-22 20:10:31 +02:00
parent dbbbeae461
commit 89f6544524
10 changed files with 60 additions and 31 deletions

View file

@ -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)