|
|
@ -733,12 +733,12 @@ bool AppInit2(boost::thread_group& threadGroup) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// see Step 2: parameter interactions for more information about these
|
|
|
|
// see Step 2: parameter interactions for more information about these
|
|
|
|
fNoListen = !GetBoolArg("-listen", true); |
|
|
|
fListen = GetBoolArg("-listen", true); |
|
|
|
fDiscover = GetBoolArg("-discover", true); |
|
|
|
fDiscover = GetBoolArg("-discover", true); |
|
|
|
fNameLookup = GetBoolArg("-dns", true); |
|
|
|
fNameLookup = GetBoolArg("-dns", true); |
|
|
|
|
|
|
|
|
|
|
|
bool fBound = false; |
|
|
|
bool fBound = false; |
|
|
|
if (!fNoListen) { |
|
|
|
if (fListen) { |
|
|
|
if (mapArgs.count("-bind")) { |
|
|
|
if (mapArgs.count("-bind")) { |
|
|
|
BOOST_FOREACH(std::string strBind, mapMultiArgs["-bind"]) { |
|
|
|
BOOST_FOREACH(std::string strBind, mapMultiArgs["-bind"]) { |
|
|
|
CService addrBind; |
|
|
|
CService addrBind; |
|
|
|