author | Kim Alvefur <zash@zash.se> |
Sat, 17 Nov 2018 16:26:40 +0100 | |
branch | 0.11 |
changeset 9638 | f457edaab510 |
parent 9636 | fdefc43bffff |
child 9639 | fc2266339cd8 |
child 9640 | fa35724dbdba |
--- a/net/server_select.lua Sat Nov 17 15:36:10 2018 +0100 +++ b/net/server_select.lua Sat Nov 17 16:26:40 2018 +0100 @@ -1009,7 +1009,7 @@ err = "luasec not found" end if not typ then - local n = inet_pton(addr); + local n = inet_pton(address); if not n then return nil, "invalid-ip"; end if #n == 16 then typ = "tcp6";