mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-12 07:59:29 -05: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
@ -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…
Reference in New Issue
Block a user