aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMichael Rotarius <michael-rotarius@rotamedia.de>2016-08-05 18:34:32 +0200
committerMichael Rotarius <michael-rotarius@rotamedia.de>2016-08-05 18:34:32 +0200
commitf13c1bae529cd6e45b4e4b1768a6ab953870fd29 (patch)
treeaae57be2a2e242a924e7dcd82f7d82405924ade4 /src/main.cpp
parent6e6ab2c3238264b34c0c83ebf703502f5ec72848 (diff)
downloadbitcoin-f13c1bae529cd6e45b4e4b1768a6ab953870fd29.tar.xz
Move AdvertiseLocal debug output to net category
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 3a07190a62..0f7a9e55b3 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -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);
}
}