mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-19 06:20:44 -04:00
Changes to get DHT On/Off working, and get DHT status working too:
* Plumbed stats through the the retroshare interface. * Also changed Channel store period back to 10 minutes.... (Reduce overall file count). This must be done some time before the any changes are made to Channels periods. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3721 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
89ca27ef66
commit
519075c70b
10 changed files with 126 additions and 64 deletions
|
@ -129,12 +129,16 @@ int RsServer::UpdateAllConfig()
|
|||
|
||||
pqiNetStatus status;
|
||||
mConnMgr->getNetStatus(status);
|
||||
|
||||
config.netLocalOk = status.mLocalAddrOk;
|
||||
config.netUpnpOk = status.mUpnpOk;
|
||||
config.netDhtOk = status.mDhtOk;
|
||||
config.netStunOk = false;
|
||||
config.netExtraAddressOk = status.mExtAddrOk;
|
||||
|
||||
config.netDhtOk = status.mDhtOk;
|
||||
config.netDhtNetSize = status.mDhtNetworkSize;
|
||||
config.netDhtRsNetSize = status.mDhtRsNetworkSize;
|
||||
|
||||
/* update DHT/UPnP config */
|
||||
|
||||
config.uPnPState = mConnMgr->getUPnPState();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue