|
|
|
@ -4999,11 +4999,11 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
@@ -4999,11 +4999,11 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
|
|
|
|
|
CAddress addr = GetLocalAddress(&pfrom->addr); |
|
|
|
|
if (addr.IsRoutable()) |
|
|
|
|
{ |
|
|
|
|
LogPrintf("ProcessMessages: advertising address %s\n", addr.ToString()); |
|
|
|
|
LogPrint("net", "ProcessMessages: advertising address %s\n", addr.ToString()); |
|
|
|
|
pfrom->PushAddress(addr); |
|
|
|
|
} else if (IsPeerAddrLocalGood(pfrom)) { |
|
|
|
|
addr.SetIP(pfrom->addrLocal); |
|
|
|
|
LogPrintf("ProcessMessages: advertising address %s\n", addr.ToString()); |
|
|
|
|
LogPrint("net", "ProcessMessages: advertising address %s\n", addr.ToString()); |
|
|
|
|
pfrom->PushAddress(addr); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|