Merge pull request #4425

6ecf3ed Display unknown commands received. (R E Broadley)
This commit is contained in:
Wladimir J. van der Laan 2014-06-28 15:07:43 +02:00
commit c8b6c0a2cf
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6

View File

@ -4044,6 +4044,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
else else
{ {
// Ignore unknown commands for extensibility // Ignore unknown commands for extensibility
LogPrint("net", "Unknown command \"%s\" from peer=%d\n", SanitizeString(strCommand), pfrom->id);
} }