diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-11-12 18:08:53 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-11-12 19:24:59 +0100 |
commit | bd629d77edbeac6ce71a34f6d557c4e00513be44 (patch) | |
tree | e5a2d84d2153393e71a7b84e726ae5136f80e4af /src/main.cpp | |
parent | eb6172a8ca7e0474457c1206c9907514348243ea (diff) | |
parent | 58ef0ffa9ef9c6ecd383040edbd5c5b6e0a63fef (diff) |
Merge pull request #6639
58ef0ff doc: update docs for Tor listening (Wladimir J. van der Laan)
68ccdc4 doc: Mention Tor listening in release notes (Wladimir J. van der Laan)
09c1ae1 torcontrol improvements and fixes (Wladimir J. van der Laan)
2f796e5 Better error message if Tor version too old (Peter Todd)
8f4e67f net: Automatically create hidden service, listen on Tor (Wladimir J. van der Laan)
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 3703701917..5208fbb031 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4059,9 +4059,11 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv, CAddress addr = GetLocalAddress(&pfrom->addr); if (addr.IsRoutable()) { + LogPrintf("ProcessMessages: advertizing address %s\n", addr.ToString()); pfrom->PushAddress(addr); } else if (IsPeerAddrLocalGood(pfrom)) { addr.SetIP(pfrom->addrLocal); + LogPrintf("ProcessMessages: advertizing address %s\n", addr.ToString()); pfrom->PushAddress(addr); } } |