aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/inet/init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/inet/init.lua b/lua/inet/init.lua
index bea6ff2..2dc7855 100644
--- a/lua/inet/init.lua
+++ b/lua/inet/init.lua
@@ -10,6 +10,12 @@ function mt.__call(_, ...)
return new_inet(...)
end
+do
+ local mixed_networks = set.new()
+ mixed_networks:add(new_inet('::ffff:0.0.0.0/96'))
+ M.mixed_networks = mixed_networks
+end
+
M.is4 = core.is_inet4
M.is6 = core.is_inet6
M.is = core.is_inet