mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 00:19:25 -05:00
Merge pull request #2062 from csoler/v0.6-HiddenNodeFixing
Hidden nodes always drop IP information from normal nodes.
This commit is contained in:
commit
70b07cd613
@ -388,6 +388,11 @@ void p3discovery2::recvOwnContactInfo(const RsPeerId &fromId, const RsDiscContac
|
||||
|
||||
setPeerVersion(fromId, item->version);
|
||||
|
||||
// Hidden nodes do not need IP information. So that information is dropped.
|
||||
// However, that doesn't mean hidden nodes do not know that information. Normally
|
||||
// normal nodes should not send it, but old nodes still do.
|
||||
|
||||
if(!mPeerMgr->isHiddenNode(rsPeers->getOwnId()))
|
||||
updatePeerAddresses(item);
|
||||
|
||||
// if the peer is not validated, we stop the exchange here
|
||||
|
Loading…
Reference in New Issue
Block a user