mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Per hosts alerts are not correctly initialized
Aded IPv6 label to top talkers to easily identify hosts with dual stack
This commit is contained in:
parent
43c17964e5
commit
1a154dc52f
5 changed files with 33 additions and 6 deletions
|
|
@ -256,6 +256,17 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
-- Simplified checker
|
||||
function isIPv6String(ip)
|
||||
if(string.find(ip, ":") ~= nil) then
|
||||
return true
|
||||
end
|
||||
|
||||
return false
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
function findString(str, tofind)
|
||||
if(str == nil) then return(nil) end
|
||||
if(tofind == nil) then return(nil) end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue