diff --git a/src/wesnothd_connection.cpp b/src/wesnothd_connection.cpp index fee7934f0432..4aa9496fb88f 100644 --- a/src/wesnothd_connection.cpp +++ b/src/wesnothd_connection.cpp @@ -146,6 +146,9 @@ void wesnothd_connection::handle_connect(const boost::system::error_code& ec, en #else LOG_NW << "Connected to " << endpoint->endpoint().address() << '\n'; #endif + if(endpoint.address().is_loopback()) { + use_tls_ = false; + } handshake(); } }