Unified alert and flow details page style (#6565)

This commit is contained in:
MatteoBiscosi 2022-05-20 11:30:39 +02:00
parent 084b86c632
commit 14e85b9888
7 changed files with 458 additions and 61 deletions

View file

@ -5265,6 +5265,24 @@ end
-- ##############################################
function format_proto_info(proto_info)
for proto, info in pairs(proto_info) do
if proto == "tls" then
info = format_tls_info(info)
elseif proto == "dns" then
info = format_dns_query_info(info)
elseif proto == "http" then
info = format_http_info(info)
elseif proto == "icmp" then
info = format_icmp_info(info)
end
end
return proto_info
end
-- ##############################################
--
-- IMPORTANT
-- Leave it at the end so it can use the functions