mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -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
@ -211,7 +211,8 @@ void p3ConnectMgr::setOwnNetConfig(uint32_t netMode, uint32_t visState)
|
||||
/* if we've started up - then tweak Dht On/Off */
|
||||
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! *****/
|
||||
@ -379,7 +380,7 @@ void p3ConnectMgr::netStartup()
|
||||
std::cerr << "p3ConnectMgr::netStartup()" << std::endl;
|
||||
#endif
|
||||
|
||||
netDhtInit();
|
||||
//netDhtInit(); //DHT disabled
|
||||
netUdpInit();
|
||||
netStunInit();
|
||||
|
||||
@ -614,7 +615,8 @@ void p3ConnectMgr::netDhtInit()
|
||||
|
||||
connMtx.unlock(); /* UNLOCK MUTEX */
|
||||
|
||||
enableNetAssistConnect(!(vs & RS_VIS_STATE_NODHT));
|
||||
//enableNetAssistConnect(!(vs & RS_VIS_STATE_NODHT));
|
||||
//DHT disabled
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user