aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorR E Broadley <rebroad+github@gmail.com>2014-06-27 11:03:24 +0700
committerR E Broadley <rebroad+github@gmail.com>2014-06-28 10:02:19 +0700
commit6ecf3edfee13f47a920ea6ea7b42b96d0bbbd5fd (patch)
tree051e8192e579a71f32e63826791ffb9924999fe2 /src
parent62599373883a66a958136f48ab0e2b826e3d5bf8 (diff)
downloadbitcoin-6ecf3edfee13f47a920ea6ea7b42b96d0bbbd5fd.tar.xz
Display unknown commands received.
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d86fd3a24d..3ffdd63923 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -4041,6 +4041,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
else
{
// Ignore unknown commands for extensibility
+ LogPrint("net", "Unknown command \"%s\" from peer=%d\n", SanitizeString(strCommand), pfrom->id);
}