libs/net.lua

Thu, 23 Mar 2023 18:54:13 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Thu, 23 Mar 2023 18:54:13 +0000
changeset 484
5e2978489c95
parent 478
cf6626a12e0e
permissions
-rw-r--r--

libs/hashes: Support for luaossl (lua-luaossl on Debian)

return {
	pton = function (ip)
		if ip:find":" then
			return "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
		else
			return "\0\0\0\0"
		end
	end
}

mercurial