Print DNS answers in historical flow details

This commit is contained in:
Alfredo Cardigliano 2024-10-30 15:38:20 +01:00
parent 961d945e11
commit 0eb94fca0b
2 changed files with 6 additions and 0 deletions

View file

@ -1113,6 +1113,11 @@ function format_dns_query_info(dns_info, no_html)
end
end
if dns_info.last_rsp_arr and type(dns_info.last_rsp_arr) == 'table' and #dns_info.last_rsp_arr > 0 then
local answers = table.concat(dns_info.last_rsp_arr, ", ")
formatted_dns_query_info["last_answer"] = answers
end
return formatted_dns_query_info
end