diff options
author | Jeff Garzik <jgarzik@bitpay.com> | 2014-06-04 15:00:38 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@bitpay.com> | 2014-06-04 15:00:38 -0400 |
commit | c79897af319e01d0c84f970206747e320e246418 (patch) | |
tree | 6ce65bc71e46c1ef23c339d83be9c42e32514ade /src/main.cpp | |
parent | f0f4904becbf2514c7cdc53a8942faf3982dda19 (diff) | |
parent | 53a088154ce4e1fc483afa120a9063811dd0e7ea (diff) |
Merge pull request #4247 from Diapolo/listen
rename fNoListen to fListen and move to net
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index b1258839d0..fa47bf7f08 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3562,7 +3562,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv) if (!pfrom->fInbound) { // Advertise our address - if (!fNoListen && !IsInitialBlockDownload()) + if (fListen && !IsInitialBlockDownload()) { CAddress addr = GetLocalAddress(&pfrom->addr); if (addr.IsRoutable()) @@ -4330,7 +4330,7 @@ bool SendMessages(CNode* pto, bool fSendTrickle) pnode->setAddrKnown.clear(); // Rebroadcast our address - if (!fNoListen) + if (fListen) { CAddress addr = GetLocalAddress(&pnode->addr); if (addr.IsRoutable()) |