mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Print DNS answers in historical flow details
This commit is contained in:
parent
961d945e11
commit
0eb94fca0b
2 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue