Removed "hide from top" hist feature that was not popular and reduced the overall speed

Added icon for blackhole hosts (i.e. hosts RX-only)
This commit is contained in:
Luca Deri 2023-02-17 15:00:53 +01:00
parent ce5c657432
commit 2f20e3f903
18 changed files with 62 additions and 53 deletions

View file

@ -43,7 +43,6 @@ local pool = _GET["pool"]
local country = _GET["country"]
local os_ = tonumber(_GET["os"])
local mac = _GET["mac"]
local top_hidden = ternary(_GET["top_hidden"] == "1", true, nil)
if isEmptyString(ifid) then
rc = rest_utils.consts.err.invalid_interface
@ -120,7 +119,7 @@ local hosts_stats = hosts_retrv_function(false, sortColumn, perPage, to_skip, sO
tonumber(network), mac,
tonumber(pool), tonumber(ipversion),
tonumber(protocol), traffic_type_filter,
filtered_hosts, blacklisted_hosts, top_hidden, anomalous, dhcp_hosts, cidr)
filtered_hosts, blacklisted_hosts, anomalous, dhcp_hosts, cidr)
if hosts_stats == nil then
rest_utils.answer(rest_utils.consts.err.not_found)