aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-12-01 01:55:40 +0100
committerKim Alvefur <zash@zash.se>2017-12-01 01:55:40 +0100
commit2ba6041c32ef86abdcf9a37253ca171eff4d0b29 (patch)
treedef31a0f297132920c6f88a16959ec06e4e931fa
parentaf801d58cb6a0be6d18805e919fd958054b8bc9f (diff)
downloadprosody-2ba6041c32ef86abdcf9a37253ca171eff4d0b29.tar.gz
prosody-2ba6041c32ef86abdcf9a37253ca171eff4d0b29.zip
util.ip: Reflow module export table
-rw-r--r--util/ip.lua6
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,
+};