mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Adds SIP call parties to the Info field
This commit is contained in:
parent
36c77163e7
commit
dbf2d0b286
2 changed files with 3 additions and 3 deletions
|
|
@ -191,9 +191,9 @@ if(flows_stats == nil) then flows_stats = { } end
|
|||
|
||||
for key, value in ipairs(flows_stats) do
|
||||
local info = ""
|
||||
if(flows_stats[key]["info"] ~= nil) then
|
||||
if(not isEmptyString(flows_stats[key]["info"])) then
|
||||
info = shortenString(flows_stats[key]["info"])
|
||||
elseif(flows_stats[key]["icmp"] ~= nil) then
|
||||
elseif(not isEmptyString(flows_stats[key]["icmp"])) then
|
||||
info = getICMPTypeCode(flows_stats[key]["icmp"])
|
||||
elseif(flows_stats[key]["proto.ndpi"] == "SIP") then
|
||||
info = getSIPInfo(flows_stats[key])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue