Software /
code /
prosody
File
teal-src/util/net.d.tl @ 12058:4860da718e87
util.smqueue: Simplify compat table, fix dependent modules (thanks Martin)
There was an off-by-one in the modulo calculation. Switching to a plain
old array-table makes the apparent size of the queue wrong, but since
some of the queue may not be available this is likely for the best.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 16 Dec 2021 12:16:45 +0100 |
parent | 11577:60bee6822d79 |
line wrap: on
line source
local enum type_strings "both" "ipv4" "ipv6" end local record lib local_addresses : function (type_strings, boolean) : { string } pton : function (string):string ntop : function (string):string end return lib