mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Fixes flow alerts table column width and description
This commit is contained in:
parent
4f0ac39efe
commit
39d3618351
8 changed files with 17 additions and 12 deletions
|
|
@ -52,7 +52,7 @@ end
|
|||
-- @return A human-readable string
|
||||
function alert_tls_certificate_mismatch.format(ifid, alert, alert_type_params)
|
||||
if not alert_type_params then
|
||||
return i18n("flow_details.tls_certificate_mismatch")
|
||||
return
|
||||
end
|
||||
|
||||
local crts = {}
|
||||
|
|
@ -64,7 +64,7 @@ function alert_tls_certificate_mismatch.format(ifid, alert, alert_type_params)
|
|||
crts[#crts + 1] = string.format("[%s: %s]", i18n("flow_details.tls_server_names"), alert_type_params["tls_crt.srv"]:gsub(",", ", "))
|
||||
end
|
||||
|
||||
return string.format("%s %s", i18n("flow_details.tls_certificate_mismatch"), table.concat(crts, " "))
|
||||
return string.format("%s", table.concat(crts, " "))
|
||||
end
|
||||
|
||||
-- #######################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue