aboutsummaryrefslogtreecommitdiffstats
path: root/net
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
commit89b93ed4b2f276ffea533ef11b79c3547a8321df (patch)
treeb0f16a25f305029bdd0a739053629bbd04086b11 /net
parent84440f2e91632d32c5484165547b4c3495fca2c0 (diff)
parent72decbc631b15f0c583c81395a52e6ccdc5bd728 (diff)
downloadprosody-89b93ed4b2f276ffea533ef11b79c3547a8321df.tar.gz
prosody-89b93ed4b2f276ffea533ef11b79c3547a8321df.zip
Merge 0.11->trunk
Diffstat (limited to 'net')
-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";