We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4740424 + d3b32ca commit ab9d398Copy full SHA for ab9d398
src/cluster.c
@@ -37,7 +37,6 @@
37
#include <arpa/inet.h>
38
#include <fcntl.h>
39
#include <unistd.h>
40
-#include <sys/socket.h>
41
#include <sys/stat.h>
42
#include <sys/file.h>
43
#include <math.h>
src/cluster.h
@@ -232,7 +232,7 @@ union clusterMsgData {
232
typedef struct {
233
char sig[4]; /* Siganture "RCmb" (Redis Cluster message bus). */
234
uint32_t totlen; /* Total length of this message */
235
- uint16_t ver; /* Protocol version, currently set to 0. */
+ uint16_t ver; /* Protocol version, currently set to 1. */
236
uint16_t port; /* TCP base port number. */
237
uint16_t type; /* Message type */
238
uint16_t count; /* Only used for some kind of messages. */
0 commit comments