mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
parent
bfee750a5b
commit
243bcce623
2 changed files with 19 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue