Merge #8740: net: No longer send local address in addrMe
d9c99c3
net: No longer send local address in addrMe (Wladimir J. van der Laan)
This commit is contained in:
commit
239e8ce958
1 changed files with 1 additions and 1 deletions
|
@ -448,7 +448,7 @@ void CNode::PushVersion()
|
|||
{
|
||||
int64_t nTime = (fInbound ? GetAdjustedTime() : GetTime());
|
||||
CAddress addrYou = (addr.IsRoutable() && !IsProxy(addr) ? addr : CAddress(CService(), addr.nServices));
|
||||
CAddress addrMe = GetLocalAddress(&addr, nLocalServices);
|
||||
CAddress addrMe = CAddress(CService(), nLocalServices);
|
||||
if (fLogIPs)
|
||||
LogPrint("net", "send version message: version %d, blocks=%d, us=%s, them=%s, peer=%d\n", PROTOCOL_VERSION, nMyStartingHeight, addrMe.ToString(), addrYou.ToString(), id);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue