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
1 changed files with 1 additions and 1 deletions

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)