mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
More flows and hosts filters (#1007)
* Add active flows hosts filter * Add hosts and flows filter by IP version * Highlight active items * Fix Unknown protocol filter
This commit is contained in:
parent
b6adcdcb04
commit
a624cda58d
9 changed files with 298 additions and 103 deletions
|
|
@ -21,6 +21,7 @@ criteria = _GET["criteria"]
|
|||
-- Host comparison parameters
|
||||
mode = _GET["mode"]
|
||||
tracked = _GET["tracked"]
|
||||
ipversion = _GET["version"]
|
||||
|
||||
-- Used when filtering by ASn, VLAN or network
|
||||
asn = _GET["asn"]
|
||||
|
|
@ -117,7 +118,7 @@ end
|
|||
|
||||
hosts_stats = hosts_retrv_function(false, sortColumn, perPage, to_skip, sOrder,
|
||||
country, os_, tonumber(vlan), tonumber(asn),
|
||||
tonumber(network), mac, tonumber(pool)) -- false = little details
|
||||
tonumber(network), mac, tonumber(pool), tonumber(ipversion)) -- false = little details
|
||||
--io.write("hello\n")
|
||||
--tprint(hosts_stats)
|
||||
--io.write("---\n")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue