Fix IPv6 validator

This commit is contained in:
emanuele-f 2019-12-30 15:44:47 +01:00
parent 3111b4a6e7
commit 03e3613e7e
7 changed files with 29 additions and 20 deletions

View file

@ -230,17 +230,6 @@ end
-- ##############################################
-- Simplified checker
function isIPv6Address(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