Skip to content

Commit

Permalink
dseg shouldn't be send for local addresses
Browse files Browse the repository at this point in the history
Closes #695
  • Loading branch information
crowning- authored and schinzelh committed Feb 15, 2016
1 parent 7a0354b commit cfc8cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/masternodeman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ void CMasternodeMan::ProcessMessage(CNode* pfrom, std::string& strCommand, CData
int nInvCount = 0;

BOOST_FOREACH(CMasternode& mn, vMasternodes) {
if(mn.addr.IsRFC1918()) continue; //local network
if(mn.addr.IsRFC1918() || mn.addr.IsLocal()) continue; //local network

if(mn.IsEnabled()) {
LogPrint("masternode", "dseg - Sending Masternode entry - %s \n", mn.addr.ToString());
Expand Down

0 comments on commit cfc8cc2

Please sign in to comment.