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 | 3af90af29b1e6e04eef64c36cfb753b4794bb42b (patch) | |
tree | def31a0f297132920c6f88a16959ec06e4e931fa /util/ip.lua | |
parent | a4c975abc34beac6728c00f3e5ad88c9cd4cb3d7 (diff) | |
download | prosody-3af90af29b1e6e04eef64c36cfb753b4794bb42b.tar.gz prosody-3af90af29b1e6e04eef64c36cfb753b4794bb42b.zip |
util.ip: Reflow module export table
Diffstat (limited to 'util/ip.lua')
-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, +}; |