diff --git a/src/networking.c b/src/networking.c index 8d3e057b7..fdfbe6bf1 100644 --- a/src/networking.c +++ b/src/networking.c @@ -2522,7 +2522,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);