Software /
code /
prosody
Diff
net/server_select.lua @ 9635:fc2266339cd8
Merge 0.11->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 18 Nov 2018 01:30:20 +0100 |
parent | 9581:1be99aedb0b3 |
parent | 9634:f457edaab510 |
child | 9835:20bf5b47c1fb |
line wrap: on
line diff
--- a/net/server_select.lua Sat Nov 17 15:48:32 2018 +0100 +++ b/net/server_select.lua Sun Nov 18 01:30:20 2018 +0100 @@ -1016,7 +1016,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";