aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_select.lua
diff options
context:
space:
mode:
Diffstat (limited to 'net/server_select.lua')
-rw-r--r--net/server_select.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_select.lua b/net/server_select.lua
index bc86742c..1a40a6d3 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -1009,7 +1009,7 @@ local addclient = function( address, port, listeners, pattern, sslctx, typ )
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";