Mercurial > prosody-hg
diff util/ip.lua @ 8429:b3562a1b1caa
util.ip: Reflow module export table
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 01 Dec 2017 01:55:40 +0100 |
| parents | ca44e462322c |
| children | a58d560aa8d5 |
line wrap: on
line diff
--- a/util/ip.lua Fri Dec 01 01:55:15 2017 +0100 +++ b/util/ip.lua Fri Dec 01 01:55:40 2017 +0100 @@ -250,7 +250,9 @@ return common_bits >= (bits or 128); end -return {new_ip = new_ip, +return { + new_ip = new_ip, commonPrefixLength = commonPrefixLength, parse_cidr = parse_cidr, - match=match}; + match = match, +};
