Anonymous user
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(
if num and 0 <= num and num <= 65535 then
parts[i] = num
|