mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fix for invalid host retrieval (no hosts returned while hosts were present)
Fixed invalid host first/last seen in colelctor interfaces Enhanced usage of interface Ids in collected flows
This commit is contained in:
parent
d78136b615
commit
e5e6ff6cd8
5 changed files with 95 additions and 75 deletions
|
|
@ -118,9 +118,10 @@ end
|
|||
|
||||
hosts_stats = hosts_retrv_function(false, sortColumn, perPage, to_skip, sOrder,
|
||||
country, os_, tonumber(vlan), tonumber(asn),
|
||||
tonumber(network), mac, tonumber(pool), tonumber(ipversion)) -- false = little details
|
||||
--io.write("hello\n")
|
||||
--tprint(hosts_stats)
|
||||
tonumber(network), mac,
|
||||
tonumber(pool), tonumber(ipversion)) -- false = little details
|
||||
|
||||
-- tprint(hosts_stats)
|
||||
--io.write("---\n")
|
||||
if(hosts_stats == nil) then total = 0 else total = hosts_stats["numHosts"] end
|
||||
hosts_stats = hosts_stats["hosts"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue