Browse Source

Enforce -nodiscover better

0.8
Pieter Wuille 13 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) @@ -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