Adds Application label to flow alerts

This commit is contained in:
Simone Mainardi 2019-02-28 19:10:53 +01:00
parent 7f7dea8d87
commit 626677705b

View file

@ -673,7 +673,7 @@ function formatRawFlow(record, flow_json)
local l7proto_name = interface.getnDPIProtoName(tonumber(record["l7_proto"]) or 0)
if not isEmptyString(l7proto_name) and l4_proto_label ~= l7proto_name then
flow = flow.."["..l7proto_name.."] "
flow = flow.."["..i18n("application")..": " ..l7proto_name.."] "
end
local decoded = json.decode(flow_json)