|
|
|
@ -5013,11 +5013,11 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
@@ -5013,11 +5013,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); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|