Exclude localnet addresses

127.0.0.* addresses shouldn't show up in "masternode list"
This commit is contained in:
crowning- 2015-01-01 20:18:23 +01:00
parent 9cb9b166a9
commit 6a93a7c47b

View File

@ -62,7 +62,7 @@ void ProcessMessageMasternode(CNode* pfrom, std::string& strCommand, CDataStream
return;
}
bool isLocal = addr.IsRFC1918();
bool isLocal = addr.IsRFC1918() || addr.IsLocal();
std::string vchPubKey(pubkey.begin(), pubkey.end());
std::string vchPubKey2(pubkey2.begin(), pubkey2.end());