mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-28 08:07:31 -04:00
fixed compilation
This commit is contained in:
parent
578a514007
commit
f78b591214
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ int RsInit::InitRetroShare(const RsConfigOptions& conf)
|
||||||
if( rsInitConfig->outStderr) rsInitConfig->haveLogFile = false ;
|
if( rsInitConfig->outStderr) rsInitConfig->haveLogFile = false ;
|
||||||
if(!rsInitConfig->logfname.empty()) rsInitConfig->haveLogFile = true;
|
if(!rsInitConfig->logfname.empty()) rsInitConfig->haveLogFile = true;
|
||||||
if( rsInitConfig->inet != "127.0.0.1") rsInitConfig->forceLocalAddr = true;
|
if( rsInitConfig->inet != "127.0.0.1") rsInitConfig->forceLocalAddr = true;
|
||||||
if( rsInitConfig->port != 0) rsInitConfig->forceExtAddr = true;
|
if( rsInitConfig->port != 0) rsInitConfig->forceLocalAddr = true; // previously forceExtPort, which means nothing in this case
|
||||||
#ifdef LOCALNET_TESTING
|
#ifdef LOCALNET_TESTING
|
||||||
if(!portRestrictions.empty()) doPortRestrictions = true;
|
if(!portRestrictions.empty()) doPortRestrictions = true;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue