aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorAsbjørn Sloth Tønnesen <ast@2e8.dk>2019-07-18 18:44:18 +0000
committerAsbjørn Sloth Tønnesen <ast@2e8.dk>2019-07-18 18:44:18 +0000
commitecf033ea15c312f6153ca761ee329058de5de918 (patch)
tree0165bebca91b7d3b10efb0229892dd24577ca9ac /lua
parente92fb277616ede376d81853c052bc399c198e15d (diff)
downloadlua-inet-ecf033ea15c312f6153ca761ee329058de5de918.tar.gz
lua-inet-ecf033ea15c312f6153ca761ee329058de5de918.tar.xz
lua-inet-ecf033ea15c312f6153ca761ee329058de5de918.zip
add another well-known mixed network
Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
Diffstat (limited to 'lua')
-rw-r--r--lua/inet/init.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/inet/init.lua b/lua/inet/init.lua
index a504ddd..1bb0121 100644
--- a/lua/inet/init.lua
+++ b/lua/inet/init.lua
@@ -12,7 +12,8 @@ end
do
local mixed_networks = set.new()
- mixed_networks:add(new_inet('::ffff:0.0.0.0/96'))
+ mixed_networks:add(new_inet('::ffff:0:0/96')) -- RFC 5156
+ mixed_networks:add(new_inet('64:ff9b::/96')) -- RFC 6052
M.mixed_networks = mixed_networks
core.set_mixed_networks(mixed_networks)
end