Skip to content

Commit f13c1ba

Browse files
committed
Move AdvertiseLocal debug output to net category
1 parent 6e6ab2c commit f13c1ba

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
@@ -4999,11 +4999,11 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
49994999
CAddress addr = GetLocalAddress(&pfrom->addr);
50005000
if (addr.IsRoutable())
50015001
{
5002-
LogPrintf("ProcessMessages: advertising address %s\n", addr.ToString());
5002+
LogPrint("net", "ProcessMessages: advertising address %s\n", addr.ToString());
50035003
pfrom->PushAddress(addr);
50045004
} else if (IsPeerAddrLocalGood(pfrom)) {
50055005
addr.SetIP(pfrom->addrLocal);
5006-
LogPrintf("ProcessMessages: advertising address %s\n", addr.ToString());
5006+
LogPrint("net", "ProcessMessages: advertising address %s\n", addr.ToString());
50075007
pfrom->PushAddress(addr);
50085008
}
50095009
}

src/net.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ void AdvertiseLocal(CNode *pnode)
216216
}
217217
if (addrLocal.IsRoutable())
218218
{
219-
LogPrintf("AdvertiseLocal: advertising address %s\n", addrLocal.ToString());
219+
LogPrint("net", "AdvertiseLocal: advertising address %s\n", addrLocal.ToString());
220220
pnode->PushAddress(addrLocal);
221221
}
222222
}

0 commit comments

Comments
 (0)