Browse Source

Enforce -nodiscover better

pull/4/head
Pieter Wuille 12 years ago
parent
commit
af4006b3f5
  1. 3
      src/net.cpp

3
src/net.cpp

@ -211,6 +211,9 @@ bool AddLocal(const CService& addr, int nScore)
if (!addr.IsRoutable())
return false;
if (!GetBoolArg("-discover", true) && nScore < LOCAL_MANUAL)
return false;
printf("AddLocal(%s,%i)\n", addr.ToString().c_str(), nScore);
{

Loading…
Cancel
Save