From 6a93a7c47b32cd7294ac5097a3635b032375940a Mon Sep 17 00:00:00 2001 From: crowning- Date: Thu, 1 Jan 2015 20:18:23 +0100 Subject: [PATCH] Exclude localnet addresses 127.0.0.* addresses shouldn't show up in "masternode list" --- src/masternode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/masternode.cpp b/src/masternode.cpp index 7c5410c56..876b3f416 100644 --- a/src/masternode.cpp +++ b/src/masternode.cpp @@ -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());