diff options
| author | Pieter Wuille <[email protected]> | 2016-08-25 15:15:13 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-08-25 15:15:16 +0200 |
| commit | 53f8f226bd1d627c4a6dec5862a1d4ea5a933e45 (patch) | |
| tree | b2cf81448f1a1f79430d1c0914cbb5b034b672fd /src | |
| parent | Merge #7579: [Qt] show network/chain errors in the GUI (diff) | |
| parent | Move AdvertiseLocal debug output to net category (diff) | |
| download | discoin-53f8f226bd1d627c4a6dec5862a1d4ea5a933e45.tar.xz discoin-53f8f226bd1d627c4a6dec5862a1d4ea5a933e45.zip | |
Merge #8462: Move AdvertiseLocal debug output to net category
f13c1ba Move AdvertiseLocal debug output to net category (Michael Rotarius)
Diffstat (limited to 'src')
| -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 9a064b8e4..5160e6075 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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); } } diff --git a/src/net.cpp b/src/net.cpp index 33dc10cbc..957388b8f 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -221,7 +221,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); } } |