mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 08:41:21 +00:00
AnetFormatIP(): renamed, commented, now sticks to IP:port format.
A few code style changes + consistent format: not nice for humans but better for parsers.
This commit is contained in:
@ -1553,7 +1553,7 @@ int clusterProcessPacket(clusterLink *link) {
|
||||
{
|
||||
memcpy(myself->ip,ip,REDIS_IP_STR_LEN);
|
||||
|
||||
anetFormatIP(ip, sizeof(ip), myself->ip, -1);
|
||||
anetFormatAddr(ip, sizeof(ip), myself->ip, -1);
|
||||
redisLog(REDIS_WARNING,"IP address for this node updated to %s",
|
||||
ip);
|
||||
clusterDoBeforeSleep(CLUSTER_TODO_SAVE_CONFIG);
|
||||
|
Reference in New Issue
Block a user