aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-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,
+};