Merge 0.11->trunk
authorKim Alvefur <zash@zash.se>
Sun, 18 Nov 2018 01:30:20 +0100
changeset 9639 fc2266339cd8
parent 9637 28be90eb774a (current diff)
parent 9638 f457edaab510 (diff)
child 9645 0ce404230388
Merge 0.11->trunk
net/server_select.lua
--- 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";