aboutsummaryrefslogtreecommitdiffstats
path: root/lua/inet
diff options
context:
space:
mode:
authorAsbjørn Sloth Tønnesen <ast@2e8.dk>2020-02-17 18:46:33 +0000
committerAsbjørn Sloth Tønnesen <ast@2e8.dk>2020-02-17 18:46:33 +0000
commit1df3b14bdfd26470c007b8443979cd20df0ea649 (patch)
tree382d85df8ca27f94ab226ef0ad683307e1dbd10a /lua/inet
parent46676a465037c20b761b02d716fe30fdfd0a3f14 (diff)
downloadlua-inet-1df3b14bdfd26470c007b8443979cd20df0ea649.tar.gz
lua-inet-1df3b14bdfd26470c007b8443979cd20df0ea649.tar.xz
lua-inet-1df3b14bdfd26470c007b8443979cd20df0ea649.zip
document :family()
Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
Diffstat (limited to 'lua/inet')
-rw-r--r--lua/inet/core.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/inet/core.lua b/lua/inet/core.lua
index 5008da9..398bc66 100644
--- a/lua/inet/core.lua
+++ b/lua/inet/core.lua
@@ -71,7 +71,8 @@ end
function inet:family()
local mt = assert(getmetatable(self))
- return assert(mt2fam[mt])
+ local ret = assert(mt2fam[mt])
+ return ret
end
local ipv4_parser