aboutsummaryrefslogtreecommitdiffstats
path: root/util/ip.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/ip.lua')
-rw-r--r--util/ip.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/ip.lua b/util/ip.lua
index 9a77a8e1..6f704c75 100644
--- a/util/ip.lua
+++ b/util/ip.lua
@@ -19,7 +19,7 @@ local ip_mt = {
return ret;
end,
__tostring = function (ip) return ip.addr; end,
- __eq = function (ipA, ipB) return ipA.addr == ipB.addr; end
+ __eq = function (ipA, ipB) return ipA.packed == ipB.packed; end
};
local hex2bits = {