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
commit3af90af29b1e6e04eef64c36cfb753b4794bb42b (patch)
treedef31a0f297132920c6f88a16959ec06e4e931fa
parenta4c975abc34beac6728c00f3e5ad88c9cd4cb3d7 (diff)
downloadprosody-3af90af29b1e6e04eef64c36cfb753b4794bb42b.tar.gz
prosody-3af90af29b1e6e04eef64c36cfb753b4794bb42b.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,
+};