aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@bitpay.com>2014-06-04 15:00:38 -0400
committerJeff Garzik <jgarzik@bitpay.com>2014-06-04 15:00:38 -0400
commitc79897af319e01d0c84f970206747e320e246418 (patch)
tree6ce65bc71e46c1ef23c339d83be9c42e32514ade /src/init.cpp
parentf0f4904becbf2514c7cdc53a8942faf3982dda19 (diff)
parent53a088154ce4e1fc483afa120a9063811dd0e7ea (diff)
Merge pull request #4247 from Diapolo/listen
rename fNoListen to fListen and move to net
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 3255f5bf10..6a21dee634 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -733,12 +733,12 @@ bool AppInit2(boost::thread_group& threadGroup)
}
// see Step 2: parameter interactions for more information about these
- fNoListen = !GetBoolArg("-listen", true);
+ fListen = GetBoolArg("-listen", true);
fDiscover = GetBoolArg("-discover", true);
fNameLookup = GetBoolArg("-dns", true);
bool fBound = false;
- if (!fNoListen) {
+ if (fListen) {
if (mapArgs.count("-bind")) {
BOOST_FOREACH(std::string strBind, mapMultiArgs["-bind"]) {
CService addrBind;