mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Adds an Active Flows page to the AS details
This commit is contained in:
parent
4e4020a480
commit
d5e36e87f4
8 changed files with 258 additions and 33 deletions
|
|
@ -32,8 +32,7 @@ local deviceIP = _GET["deviceIP"]
|
|||
local inIfIdx = _GET["inIfIdx"]
|
||||
local outIfIdx = _GET["outIfIdx"]
|
||||
|
||||
local client_asn = _GET["client_asn"]
|
||||
local server_asn = _GET["server_asn"]
|
||||
local asn = _GET["asn"]
|
||||
|
||||
local vhost = _GET["vhost"]
|
||||
local flowhosts_type = _GET["flowhosts_type"]
|
||||
|
|
@ -170,12 +169,8 @@ if not isEmptyString(deviceIP) then
|
|||
end
|
||||
end
|
||||
|
||||
if not isEmptyString(client_asn) then
|
||||
pageinfo["clientASNFilter"] = tonumber(client_asn)
|
||||
end
|
||||
|
||||
if not isEmptyString(server_asn) then
|
||||
pageinfo["serverASNFilter"] = tonumber(server_asn)
|
||||
if not isEmptyString(asn) then
|
||||
pageinfo["asnFilter"] = tonumber(asn)
|
||||
end
|
||||
|
||||
local flows_stats = interface.getFlowsInfo(host, pageinfo)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue