mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 10:41:34 +00:00
L7 category formatter
This commit is contained in:
parent
01dcea7cfb
commit
dd2ded8a1d
1 changed files with 2 additions and 1 deletions
|
|
@ -253,7 +253,8 @@ end
|
|||
tag_utils.formatters = {
|
||||
l4proto = function(proto) return l4_proto_to_string(proto) end,
|
||||
l7_proto = function(proto) return interface.getnDPIProtoName(tonumber(proto)) end,
|
||||
l7proto = function(proto) return interface.getnDPIProtoName(tonumber(proto)) end,
|
||||
l7proto = function(proto) return interface.getnDPIProtoName(tonumber(proto)) end,
|
||||
l7cat = function(cat) return interface.getnDPICategoryName(tonumber(cat)) end,
|
||||
severity = function(severity) return (i18n(alert_consts.alertSeverityById(tonumber(severity)).i18n_title)) end,
|
||||
status = function(status) return alert_consts.alertTypeLabel(status, true, alert_entities.flow.entity_id) end,
|
||||
role = function(role) return (i18n(role)) end,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue