mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Implements hosts walker by address CIDR
This commit is contained in:
parent
4d162c17b5
commit
091e89d5a3
17 changed files with 57 additions and 35 deletions
|
|
@ -32,6 +32,7 @@ local ipversion = _GET["version"]
|
|||
local asn = _GET["asn"]
|
||||
local vlan = _GET["vlan"]
|
||||
local network = _GET["network"]
|
||||
local cidr = _GET["network_cidr"]
|
||||
local pool = _GET["pool"]
|
||||
local country = _GET["country"]
|
||||
local os_ = _GET["os"]
|
||||
|
|
@ -135,7 +136,7 @@ local hosts_stats = hosts_retrv_function(false, sortColumn, perPage, to_skip, sO
|
|||
tonumber(network), mac,
|
||||
tonumber(pool), tonumber(ipversion),
|
||||
tonumber(protocol), one_way_traffic,
|
||||
filtered_hosts, blacklisted_hosts, top_hidden, anomalous, dhcp_hosts) -- false = little details
|
||||
filtered_hosts, blacklisted_hosts, top_hidden, anomalous, dhcp_hosts, cidr)
|
||||
|
||||
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