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:
parent
fed6d180fe
commit
b49129dfa6
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue