diff --git a/src/session_impl.cpp b/src/session_impl.cpp index 0fbda049f..9b1896253 100644 --- a/src/session_impl.cpp +++ b/src/session_impl.cpp @@ -5466,8 +5466,7 @@ retry: // if peer connections are set up to be received over a socks // proxy, and it's the same one as we're using for the tracker // just tell the tracker the socks5 port we're listening on - if (m_socks_listen_socket && m_socks_listen_socket->is_open() - && m_proxy.hostname == m_proxy.hostname) + if (m_socks_listen_socket && m_socks_listen_socket->is_open()) return m_socks_listen_port; // if not, don't tell the tracker anything if we're in force_proxy