Skip to content

Commit 53f8f22

Browse files
committed
Merge #8462: Move AdvertiseLocal debug output to net category
f13c1ba Move AdvertiseLocal debug output to net category (Michael Rotarius)
2 parents 0606f95 + f13c1ba commit 53f8f22

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5013,11 +5013,11 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
50135013
CAddress addr = GetLocalAddress(&pfrom->addr);
50145014
if (addr.IsRoutable())
50155015
{
5016-
LogPrintf("ProcessMessages: advertising address %s\n", addr.ToString());
5016+
LogPrint("net", "ProcessMessages: advertising address %s\n", addr.ToString());
50175017
pfrom->PushAddress(addr);
50185018
} else if (IsPeerAddrLocalGood(pfrom)) {
50195019
addr.SetIP(pfrom->addrLocal);
5020-
LogPrintf("ProcessMessages: advertising address %s\n", addr.ToString());
5020+
LogPrint("net", "ProcessMessages: advertising address %s\n", addr.ToString());
50215021
pfrom->PushAddress(addr);
50225022
}
50235023
}

src/net.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ void AdvertiseLocal(CNode *pnode)
221221
}
222222
if (addrLocal.IsRoutable())
223223
{
224-
LogPrintf("AdvertiseLocal: advertising address %s\n", addrLocal.ToString());
224+
LogPrint("net", "AdvertiseLocal: advertising address %s\n", addrLocal.ToString());
225225
pnode->PushAddress(addrLocal);
226226
}
227227
}

0 commit comments

Comments
 (0)