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:
drbob 2011-07-02 14:54:06 +00:00
parent 7d653d0aa4
commit 8baf2dc33b

View File

@ -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: ";