Fix IP representation in clusterMsgDataGossip

This commit is contained in:
Matt Stancliff 2014-02-25 16:02:28 -05:00
parent 55c059e270
commit d769cad4bf

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 */