mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Implement network data delete
IPv4 network masks /24 to /32 are now supported. Fix #2257
This commit is contained in:
parent
d69237c0cd
commit
11a99722e0
5 changed files with 99 additions and 7 deletions
|
|
@ -732,6 +732,10 @@ function formatRawUserActivity(record, activity_json)
|
|||
local host_url = "<a href=\"".. ntop.getHttpPrefix() .. "/lua/host_details.lua?ifid="..decoded.ifid.."&host="..host.."\">"..hostname .."</a>"
|
||||
return i18n('user_activity.deleted_host_data', {user=user, ifname=ifname, host=host_url})
|
||||
|
||||
elseif decoded.name == 'delete_network' and decoded.params[1] ~= nil then
|
||||
local network = decoded.params[1]
|
||||
return i18n('user_activity.deleted_network_data', {user=user, ifname=ifname, network=network})
|
||||
|
||||
elseif decoded.name == 'delete_inactive_interfaces' then
|
||||
return i18n('user_activity.deleted_inactive_interfaces_data', {user=user})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue