1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-01 20:11:59 +00:00

fixup: new dht bootstrap regression (#3866)

This commit is contained in:
Charles Kerr 2022-10-02 20:32:14 -05:00 committed by GitHub
parent fed6d180fe
commit b49129dfa6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -167,7 +167,7 @@ static constexpr std::string_view printableStatus(Status status)
bool tr_dhtEnabled()
{
return impl.session != nullptr && (impl.udp4_socket != TR_BAD_SOCKET || impl.udp6_socket != TR_BAD_SOCKET);
return impl.session != nullptr;
}
static constexpr auto getUdpSocket(int af)