From d769cad4bf37ac913bf41d3b555b2b3d765dc829 Mon Sep 17 00:00:00 2001 From: Matt Stancliff Date: Tue, 25 Feb 2014 16:02:28 -0500 Subject: [PATCH] Fix IP representation in clusterMsgDataGossip --- src/cluster.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cluster.h b/src/cluster.h index aae13cd40..654274b9b 100644 --- a/src/cluster.h +++ b/src/cluster.h @@ -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 */