Added initial work towards a new historical interface. In the Interfaces->name->Historical Actitivity it is now possible to see top flows when -F "mysql;...." is used

This commit is contained in:
Luca Deri 2015-08-16 15:00:40 +02:00
parent 3b72506ab0
commit e59d699837
10 changed files with 281 additions and 19 deletions

View file

@ -1735,3 +1735,7 @@ function getSpeedMax(ifname)
return(ntop.getSpeedMax(ifname))
end
function intToIPv4(num)
return(math.floor(num / 2^24).. "." ..math.floor((num % 2^24) / 2^16).. "." ..math.floor((num % 2^16) / 2^8).. "." ..num % 2^8)
end