mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Fix telegram notifications (fix #6915)
This commit is contained in:
parent
6213c4c5c2
commit
93dd74d906
2 changed files with 13 additions and 6 deletions
|
|
@ -68,9 +68,11 @@ function alert_device_protocol_not_allowed.format(ifid, alert, alert_type_params
|
|||
end
|
||||
|
||||
local label = discover.devtype2string(devtype)
|
||||
return i18n(msg, {proto=interface.getnDPIProtoName(forbidden_proto), devtype=label,
|
||||
local description = i18n(msg, {proto=interface.getnDPIProtoName(forbidden_proto), devtype=label,
|
||||
url=getDeviceProtocolPoliciesUrl("device_type="..
|
||||
devtype.."&l7proto="..forbidden_proto)})
|
||||
|
||||
return description
|
||||
end
|
||||
|
||||
-- #######################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue