Module:IP: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
use second parameter of tonumber to change base rather than concatenating '0x'
(make the walk subnet test pass for now)
(use second parameter of tonumber to change base rather than concatenating '0x')
Line 102:
parts[i] = 0
else
local num = tonumber('0x's, .. s16)
if num and 0 <= num and num <= 65535 then
parts[i] = num
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu