diff options
author | Michael Rotarius <michael-rotarius@rotamedia.de> | 2016-08-05 18:34:32 +0200 |
---|---|---|
committer | Michael Rotarius <michael-rotarius@rotamedia.de> | 2016-08-05 18:34:32 +0200 |
commit | f13c1bae529cd6e45b4e4b1768a6ab953870fd29 (patch) | |
tree | aae57be2a2e242a924e7dcd82f7d82405924ade4 | |
parent | 6e6ab2c3238264b34c0c83ebf703502f5ec72848 (diff) |
Move AdvertiseLocal debug output to net category
-rw-r--r-- | src/main.cpp | 4 | ||||
-rw-r--r-- | src/net.cpp | 2 |
2 files changed, 3 insertions, 3 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); } } diff --git a/src/net.cpp b/src/net.cpp index 4bbe5059df..c159198ac6 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -216,7 +216,7 @@ void AdvertiseLocal(CNode *pnode) } if (addrLocal.IsRoutable()) { - LogPrintf("AdvertiseLocal: advertising address %s\n", addrLocal.ToString()); + LogPrint("net", "AdvertiseLocal: advertising address %s\n", addrLocal.ToString()); pnode->PushAddress(addrLocal); } } |