aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-06-28 15:07:43 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-06-28 15:07:51 +0200
commitc8b6c0a2cfee5d2d7d4b30f0e931d5823cfcdbfe (patch)
treee1b363ddedbc8f5c729561bd7833eb40766f6804 /src
parent9125ef942174254d4afdf96c3eda1da12dff01e0 (diff)
parent6ecf3edfee13f47a920ea6ea7b42b96d0bbbd5fd (diff)
Merge pull request #4425
6ecf3ed Display unknown commands received. (R E Broadley)
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 f19acdfbd1..091bd1bc7f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -4044,6 +4044,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);
}