aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/s2smanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index 822713fe..6c880a02 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -432,7 +432,7 @@ function make_connect(host_session, connect_host, connect_port)
local conn, handler;
if connect_host.proto == "IPv4" then
conn, handler = socket.tcp();
- else
+ elseif socket.tcp6 then
conn, handler = socket.tcp6();
end