summaryrefslogtreecommitdiff
path: root/src/redis.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2013-07-09 11:32:52 +0200
committerantirez <antirez@gmail.com>2013-07-11 17:07:52 +0200
commita7451c1b6de7dd6d7437d511493f338862e1e68a (patch)
treeebc7c8d3c257ac4d535acf05c6d0e93185c895a0 /src/redis.c
parent2e75d3947ce8c64bc66c32c6e20fe18c8e09f499 (diff)
downloadredis-a7451c1b6de7dd6d7437d511493f338862e1e68a.tar.gz
All IP string repr buffers are now REDIS_IP_STR_LEN bytes.
Diffstat (limited to 'src/redis.c')
-rw-r--r--src/redis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redis.c b/src/redis.c
index 0db41bcc9..7eea63d83 100644
--- a/src/redis.c
+++ b/src/redis.c
@@ -2360,7 +2360,7 @@ sds genRedisInfoString(char *section) {
while((ln = listNext(&li))) {
redisClient *slave = listNodeValue(ln);
char *state = NULL;
- char ip[INET6_ADDRSTRLEN];
+ char ip[REDIS_IP_STR_LEN];
int port;
long lag = 0;