aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-11-18 01:30:20 +0100
committerKim Alvefur <zash@zash.se>2018-11-18 01:30:20 +0100
commit255d4ba139a93aecf66bb4a081f3aa45b6ac4e35 (patch)
treeb0f16a25f305029bdd0a739053629bbd04086b11
parent5a4eaa0af27be5d07436fda04b5b4e519990b2cd (diff)
parent589010b4070103d23d11b3af13874bda788a2122 (diff)
downloadprosody-255d4ba139a93aecf66bb4a081f3aa45b6ac4e35.tar.gz
prosody-255d4ba139a93aecf66bb4a081f3aa45b6ac4e35.zip
Merge 0.11->trunk
-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 693cee5e..f616116e 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -1016,7 +1016,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";