Merge pull request #1565 from mattsta/fix-cluster-ipv6-addr

Fix IP representation in clusterMsgDataGossip
This commit is contained in:
Salvatore Sanfilippo 2014-02-25 22:07:46 +01:00
commit 5edc7f76ed

View File

@ -148,7 +148,7 @@ typedef struct {
char nodename[REDIS_CLUSTER_NAMELEN];
uint32_t ping_sent;
uint32_t pong_received;
char ip[16]; /* IP address last time it was seen */
char ip[REDIS_IP_STR_LEN]; /* IP address last time it was seen */
uint16_t port; /* port last time it was seen */
uint16_t flags;
uint32_t notused; /* for 64 bit alignment */