Fix telegram notifications (fix #6915)

This commit is contained in:
Alfredo Cardigliano 2022-10-03 12:29:23 +02:00
parent 6213c4c5c2
commit 93dd74d906
2 changed files with 13 additions and 6 deletions

View file

@ -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
-- #######################################################