mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 16:30:10 +00:00
Transferring flows status bitmap to the client/server host. Added anomalous flows reasons to the host details page.
This commit is contained in:
parent
c8a821d2f3
commit
38a53ec1fa
9 changed files with 52 additions and 9 deletions
|
|
@ -532,7 +532,7 @@ local function userActivityFormatter(ifid, alert, info)
|
|||
local host = decoded.params[1]
|
||||
local hostinfo = hostkey2hostinfo(host)
|
||||
local hostname = host2name(hostinfo.host, hostinfo.vlan)
|
||||
local host_url = "<a href=\"".. ntop.getHttpPrefix() .. "/lua/host_details.lua?ifid="..decoded.ifid.."&host="..host.."\">"..hostname .."</a>"
|
||||
local host_url = "<a href=\"".. ntop.getHttpPrefix() .. "/lua/host_details.lua?ifid="..(decoded.ifid or ifid).."&host="..host.."\">"..hostname .."</a>"
|
||||
return i18n('user_activity.host_json_downloaded', {user=user, host=host_url})
|
||||
|
||||
elseif decoded.name == 'live_flows_extraction' and decoded.params[1] ~= nil and decoded.params[2] ~= nil then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue