mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Blacklist name is now shown in blacklisted flows alerts
This commit is contained in:
parent
4397fae2e3
commit
8f75df9797
4 changed files with 12 additions and 4 deletions
|
|
@ -70,6 +70,10 @@ function alert_flow_blacklisted.format(ifid, alert, alert_type_params)
|
|||
return i18n("flow_details.blacklisted_flow")
|
||||
end
|
||||
|
||||
if alert_type_params["custom_cat_file"] then
|
||||
who[#who + 1] = "('"..alert_type_params["custom_cat_file"].."' blacklist)"
|
||||
end
|
||||
|
||||
local res = i18n("flow_details.blacklisted_flow_detailed", {who = table.concat(who, ", ")})
|
||||
|
||||
return res
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue