mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-04-22 16:09:18 -04:00
Changed the "Stunner" Flags to increase the number of peers (use RS + PeerNet peers).
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-peernet@4380 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
7d653d0aa4
commit
8baf2dc33b
@ -711,7 +711,10 @@ int PeerNet::dhtNodeCallback(const bdId *id, uint32_t peerflags)
|
||||
#endif
|
||||
}
|
||||
|
||||
if (peerflags & BITDHT_PEER_STATUS_DHT_ENGINE_VERSION)
|
||||
// These are the flags that will be returned by PeerNet & RS peers with the new DHT.
|
||||
// if (peerflags & BITDHT_PEER_STATUS_DHT_ENGINE_VERSION) // Change to this later...
|
||||
if ((peerflags & BITDHT_PEER_STATUS_DHT_ENGINE) &&
|
||||
(peerflags & BITDHT_PEER_STATUS_DHT_APPL))
|
||||
{
|
||||
#ifdef PEERNET_DEBUG
|
||||
std::cerr << "PeerNet::dhtNodeCallback() Passing Local Peer to DhtStunner: ";
|
||||
|
Loading…
x
Reference in New Issue
Block a user