mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-16 21:12:31 -04:00
Networking REWORK: Changes for other bits
* Fixed #includes in upnp * switched p3disc over to the new data types. * added new source to .pro file * minor changes to other code. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3249 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
8745c2fe2e
commit
ae4ee9df00
7 changed files with 54 additions and 31 deletions
|
@ -127,11 +127,13 @@ int RsServer::UpdateAllConfig()
|
|||
|
||||
/* update network configuration */
|
||||
|
||||
config.netLocalOk = mConnMgr->getNetStatusLocalOk();
|
||||
config.netUpnpOk = mConnMgr->getNetStatusUpnpOk();
|
||||
config.netDhtOk = mConnMgr->getNetStatusDhtOk();
|
||||
config.netStunOk = mConnMgr->getNetStatusStunOk();
|
||||
config.netExtraAddressOk = mConnMgr->getNetStatusExtraAddressCheckOk();
|
||||
pqiNetStatus status;
|
||||
mConnMgr->getNetStatus(status);
|
||||
config.netLocalOk = status.mLocalAddrOk;
|
||||
config.netUpnpOk = status.mUpnpOk;
|
||||
config.netDhtOk = status.mDhtOk;
|
||||
config.netStunOk = false;
|
||||
config.netExtraAddressOk = status.mExtAddrOk;
|
||||
|
||||
/* update DHT/UPnP config */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue