mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fix IPv6 validator
This commit is contained in:
parent
3111b4a6e7
commit
03e3613e7e
7 changed files with 29 additions and 20 deletions
|
|
@ -38,7 +38,7 @@ local totals = { ["count"] = {}, ["timespan"] = timediff, ["status"] = "ok" }
|
|||
local versions = { [4] = 'IPv4', [6] = 'IPv6' }
|
||||
|
||||
if host ~= "" then
|
||||
local isv6 = isIPv6Address(host)
|
||||
local isv6 = isIPv6(host)
|
||||
|
||||
if(isv6) then
|
||||
versions = { [6] = 'IPv6' }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue