Module:IP: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
simplify RawIP:getPrefix
(fix bit calculation bug in RawIP:getHighestHost)
(simplify RawIP:getPrefix)
Line 168:
bitLength = bitLength - 16
else
result[i] = bit32.bandreplace(self[i], 0, 0, 16 - bitLength)
bit32.arshift(0xffff8000, bitLength - 1))
bitLength = 0
end
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu