mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-03 03:36:58 -04:00
* Fixed up network configuration.
- p3peermgr now uses RS_NET_MODE_XXXX instead of RS_NET_MODE_TRY_XXXX - p3netmgr maintains both TRY and ACTUAL mode. - actual mode is not visible through old interface (TO FIX). - added default to UPNP mode. * Added debug to show changes to peer->VisState. - It seems that this is never updated by p3disc. BUG, (TO FIX). * disabled extra debug in rsdiscitems. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4498 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
da0d410b8d
commit
91e10f1590
4 changed files with 44 additions and 7 deletions
|
@ -675,11 +675,13 @@ void p3disc::recvPeerDetails(RsDiscReply *item, const std::string &certGpgId)
|
|||
//
|
||||
if (item->PeerId() == pitem->pid)
|
||||
{
|
||||
#ifdef P3DISC_DEBUG
|
||||
std::cerr << "Info sent by the peer itself -> updating self info:" << std::endl;
|
||||
std::cerr << " -> current local addr = " << pitem->currentlocaladdr << std::endl;
|
||||
std::cerr << " -> current remote addr = " << pitem->currentremoteaddr << std::endl;
|
||||
std::cerr << " -> clearing NODISC flag " << std::endl;
|
||||
//std::cerr << " -> clearing NODISC flag " << std::endl;
|
||||
std::cerr << " -> visState = " << std::hex << pitem->visState << std::dec;
|
||||
std::cerr << std::endl;
|
||||
#ifdef P3DISC_DEBUG
|
||||
#endif
|
||||
|
||||
// When the peer sends his own list of IPs, the info replaces the existing info, because the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue