mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-20 03:35:18 +02:00
Enable ipv6_server by default
This commit is contained in:
@@ -128,7 +128,8 @@ void UDPSocket::Bind(Address addr)
|
||||
if (setsockopt(m_handle, IPPROTO_IPV6, IPV6_V6ONLY,
|
||||
reinterpret_cast<char *>(&value), sizeof(value)) != 0) {
|
||||
auto errmsg = SOCKET_ERR_STR(LAST_SOCKET_ERR());
|
||||
errorstream << "Failed to disable V6ONLY: " << errmsg << std::endl;
|
||||
errorstream << "Failed to disable V6ONLY: " << errmsg
|
||||
<< "\nTry disabling ipv6_server to fix this." << std::endl;
|
||||
throw SocketException(errmsg);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user