Adds DNS request type to flow details

Implements #5841
This commit is contained in:
Simone Mainardi 2021-09-06 11:02:51 +02:00
parent bfee750a5b
commit 243bcce623
2 changed files with 19 additions and 0 deletions

View file

@ -433,6 +433,22 @@ end
-- #######################
function get_dns_type_label(dns_type)
dns_type = tonumber(dns_type)
if dns_type then
for k, v in pairs(dns_types) do
if v == dns_type then
return k
end
end
end
return string.format("%u", dns_type)
end
-- #######################
function extractSIPCaller(caller)
local i
local j