Module:IP: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
use constants for version in IPBlock
m (update comment)
(use constants for version in IPBlock)
Line 134:
 
function obj:isIPv4()
return data.version == 'IPv4'V4
end
 
function obj:isIPv6()
return data.version == 'IPv6'V6
end
 
Line 146:
 
-- Set initial values
data.version = 4V4
 
return obj
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu