mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Prevents attempts to perform op. on a nil values (Fixes #525)
This commit is contained in:
parent
1ac7be539a
commit
92f2a33c75
1 changed files with 1 additions and 1 deletions
|
|
@ -509,7 +509,7 @@ function handleCustomFlowField(key, value)
|
|||
if(value ~= '0') then
|
||||
return(formatEpoch(value))
|
||||
else
|
||||
return ""
|
||||
return "0"
|
||||
end
|
||||
elseif((rtemplate[tonumber(key)] == 'RTP_IN_JITTER') or (rtemplate[tonumber(key)] == 'RTP_OUT_JITTER')) then
|
||||
if(value ~= nil and value ~= '0') then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue