Anonymous user
Module:IP: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
use strings for protocol version numbers
(tweak IPRange structure) |
(use strings for protocol version numbers) |
||
Line 16:
local normalizedIP = ip
local version =
function obj:getIP()
Line 31:
function obj:isIPv4()
return version ==
end
function obj:isIPv6()
return version ==
end
|