Merge pull request #7363 from xhebox/unstable

return the correct proto version
This commit is contained in:
Salvatore Sanfilippo 2020-06-08 12:54:15 +02:00 committed by GitHub
commit 48b2915c18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2527,7 +2527,7 @@ void helloCommand(client *c) {
addReplyBulkCString(c,REDIS_VERSION);
addReplyBulkCString(c,"proto");
addReplyLongLong(c,3);
addReplyLongLong(c,ver);
addReplyBulkCString(c,"id");
addReplyLongLong(c,c->id);