aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/ip.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/ip.lua b/util/ip.lua
index 6f704c75..f4a933ea 100644
--- a/util/ip.lua
+++ b/util/ip.lua
@@ -238,7 +238,7 @@ function match(ipA, ipB, bits)
if ipA.proto == "IPv4" then
ipA = ipA.toV4mapped;
elseif ipB.proto == "IPv4" then
- ipB = ipA.toV4mapped;
+ ipB = ipB.toV4mapped;
bits = bits + (128 - 32);
end
end