mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
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:
parent
3b72506ab0
commit
e59d699837
10 changed files with 281 additions and 19 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue