From f78b5912145ae10cf009eb504de1306dc56c3ca6 Mon Sep 17 00:00:00 2001 From: csoler Date: Wed, 23 Oct 2019 18:16:31 +0000 Subject: [PATCH] fixed compilation --- libretroshare/src/rsserver/rsinit.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/rsserver/rsinit.cc b/libretroshare/src/rsserver/rsinit.cc index fd970ba8c..3b1f172cf 100644 --- a/libretroshare/src/rsserver/rsinit.cc +++ b/libretroshare/src/rsserver/rsinit.cc @@ -306,7 +306,7 @@ int RsInit::InitRetroShare(const RsConfigOptions& conf) if( rsInitConfig->outStderr) rsInitConfig->haveLogFile = false ; if(!rsInitConfig->logfname.empty()) rsInitConfig->haveLogFile = 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 if(!portRestrictions.empty()) doPortRestrictions = true; #endif