aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/inet/set.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/inet/set.lua b/lua/inet/set.lua
index a5d9056..c96a57b 100644
--- a/lua/inet/set.lua
+++ b/lua/inet/set.lua
@@ -173,7 +173,7 @@ function inet_set:contains(net)
for i=1,#nets do
local n = nets[i]
if n == net or n:contains(net) then
- return true
+ return n
end
end
return false