diff options
author | Kim Alvefur <zash@zash.se> | 2018-11-18 01:30:20 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-11-18 01:30:20 +0100 |
commit | 89b93ed4b2f276ffea533ef11b79c3547a8321df (patch) | |
tree | b0f16a25f305029bdd0a739053629bbd04086b11 /net | |
parent | 84440f2e91632d32c5484165547b4c3495fca2c0 (diff) | |
parent | 72decbc631b15f0c583c81395a52e6ccdc5bd728 (diff) | |
download | prosody-89b93ed4b2f276ffea533ef11b79c3547a8321df.tar.gz prosody-89b93ed4b2f276ffea533ef11b79c3547a8321df.zip |
Merge 0.11->trunk
Diffstat (limited to 'net')
-rw-r--r-- | net/server_select.lua | 2 |
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"; |