mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Implemented dummy interface (-i dummy) to be used only for debugging purposes for testing low-memory conditions and internal routines.
Updated scripts that were still using old API calls
This commit is contained in:
parent
badcf525cb
commit
5e556396d1
19 changed files with 123 additions and 106 deletions
|
|
@ -895,7 +895,7 @@ end
|
|||
|
||||
-- Return the first 'howmany' hosts
|
||||
function getTopInterfaceHosts(howmany, localHostsOnly)
|
||||
hosts_stats = interface.getHostsInfo()
|
||||
hosts_stats,total = aggregateHostsStats(interface.getHostsInfo())
|
||||
ret = {}
|
||||
sortTable = {}
|
||||
n = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue