mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
fixed detection of TOR connections on server side (patch from sehraf)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8137 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
5785ddca84
commit
f1309a8cbe
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ bool p3Peers::getPeerDetails(const RsPeerId& id, RsPeerDetails &d)
|
|||
}
|
||||
else if (pcs.state & RS_PEER_S_CONNECTED)
|
||||
{
|
||||
if(isProxyAddress(pcs.connectaddr))
|
||||
if(isProxyAddress(pcs.connectaddr) || mPeerMgr->isHidden())
|
||||
d.connectState = RS_PEER_CONNECTSTATE_CONNECTED_TOR;
|
||||
else if (pcs.connecttype == RS_NET_CONN_TCP_ALL)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue