diff options
author | Kim Alvefur <zash@zash.se> | 2017-12-01 01:55:40 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-12-01 01:55:40 +0100 |
commit | 2ba6041c32ef86abdcf9a37253ca171eff4d0b29 (patch) | |
tree | def31a0f297132920c6f88a16959ec06e4e931fa /util | |
parent | af801d58cb6a0be6d18805e919fd958054b8bc9f (diff) | |
download | prosody-2ba6041c32ef86abdcf9a37253ca171eff4d0b29.tar.gz prosody-2ba6041c32ef86abdcf9a37253ca171eff4d0b29.zip |
util.ip: Reflow module export table
Diffstat (limited to 'util')
-rw-r--r-- | util/ip.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/util/ip.lua b/util/ip.lua index 19be7013..b45786c2 100644 --- a/util/ip.lua +++ b/util/ip.lua @@ -250,7 +250,9 @@ local function match(ipA, ipB, bits) 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, +}; |