mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 06:02:41 -04:00
DHT disabled
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1872 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b447a213ea
commit
cd01b0df43
1 changed files with 5 additions and 3 deletions
|
@ -211,7 +211,8 @@ void p3ConnectMgr::setOwnNetConfig(uint32_t netMode, uint32_t visState)
|
||||||
/* if we've started up - then tweak Dht On/Off */
|
/* if we've started up - then tweak Dht On/Off */
|
||||||
if (mNetStatus != RS_NET_UNKNOWN)
|
if (mNetStatus != RS_NET_UNKNOWN)
|
||||||
{
|
{
|
||||||
enableNetAssistConnect(!(ownState.visState & RS_VIS_STATE_NODHT));
|
//enableNetAssistConnect(!(ownState.visState & RS_VIS_STATE_NODHT));
|
||||||
|
//DHT disabled
|
||||||
}
|
}
|
||||||
|
|
||||||
IndicateConfigChanged(); /**** INDICATE MSG CONFIG CHANGED! *****/
|
IndicateConfigChanged(); /**** INDICATE MSG CONFIG CHANGED! *****/
|
||||||
|
@ -379,7 +380,7 @@ void p3ConnectMgr::netStartup()
|
||||||
std::cerr << "p3ConnectMgr::netStartup()" << std::endl;
|
std::cerr << "p3ConnectMgr::netStartup()" << std::endl;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
netDhtInit();
|
//netDhtInit(); //DHT disabled
|
||||||
netUdpInit();
|
netUdpInit();
|
||||||
netStunInit();
|
netStunInit();
|
||||||
|
|
||||||
|
@ -614,7 +615,8 @@ void p3ConnectMgr::netDhtInit()
|
||||||
|
|
||||||
connMtx.unlock(); /* UNLOCK MUTEX */
|
connMtx.unlock(); /* UNLOCK MUTEX */
|
||||||
|
|
||||||
enableNetAssistConnect(!(vs & RS_VIS_STATE_NODHT));
|
//enableNetAssistConnect(!(vs & RS_VIS_STATE_NODHT));
|
||||||
|
//DHT disabled
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue