mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Extend valid DNS query length
Previously an alert was generated with queries like p4-eejjahupdxuys-rylkjv2los2h24a4-514713-s1-v6exp3-v4.metric.gstatic.com
This commit is contained in:
parent
91c4b5decf
commit
d53d777c81
2 changed files with 4 additions and 2 deletions
|
|
@ -977,7 +977,9 @@ function secondsToTime(seconds)
|
|||
end
|
||||
|
||||
function compactTime(seconds)
|
||||
if seconds >= 60 then
|
||||
if seconds == 0 then
|
||||
return "< 1 sec"
|
||||
elseif seconds >= 60 then
|
||||
seconds = seconds - seconds % 60
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue