Reworked AddressTree implementation

This commit is contained in:
Luca Deri 2016-12-20 19:16:34 +01:00
parent a3f19f69c3
commit 9d4df13c1a
23 changed files with 269 additions and 199 deletions

View file

@ -121,8 +121,9 @@ hosts_stats = hosts_retrv_function(false, sortColumn, perPage, to_skip, sOrder,
country, os_, tonumber(vlan), tonumber(asn),
tonumber(network), mac) -- false = little details
-- tprint(hosts_stats)
--io.write("hello\n")
--tprint(hosts_stats)
--io.write("---\n")
if(hosts_stats == nil) then total = 0 else total = hosts_stats["numHosts"] end
hosts_stats = hosts_stats["hosts"]
-- for k,v in pairs(hosts_stats) do io.write(k.." ["..sortColumn.."]\n") end