• Geoff Garside's avatar
    Update node2IpString to handle AF_INET6 addresses. · 5be83eec
    Geoff Garside authored
    Change the sockaddr_in to sockaddr_storage which is capable of storing
    both AF_INET and AF_INET6 sockets. Uses the sockaddr_storage ss_family
    to correctly return the printable IP address and port.
    
    Function makes the assumption that the buffer is of at least
    REDIS_CLUSTER_IPLEN bytes in size.
    5be83eec
cluster.c 108 KB