aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2014-05-29 13:02:22 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2014-06-11 12:04:17 +0200
commit56b07d2dcdec336173b866210c535439b03416a1 (patch)
tree939a4888f8d4cbc15d53fb928ba338c0c7ddfe30 /src/init.cpp
parent5905d71fe3bb22d0111da7fb4ca8433ed54c9abf (diff)
downloadbitcoin-56b07d2dcdec336173b866210c535439b03416a1.tar.xz
[Qt] allow setting listen via GUI
- add DEFAULT_LISTEN in net.h and use in the code (shared setting between core and GUI) Important: This makes it obvious, that we need to re-think the settings/options handling, as GUI settings are processed before any parameter-interaction (which is mostly important for network stuff) in AppInit2()!
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 1d86cf087d..528c3df064 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -766,7 +766,7 @@ bool AppInit2(boost::thread_group& threadGroup)
}
// see Step 2: parameter interactions for more information about these
- fListen = GetBoolArg("-listen", true);
+ fListen = GetBoolArg("-listen", DEFAULT_LISTEN);
fDiscover = GetBoolArg("-discover", true);
fNameLookup = GetBoolArg("-dns", true);