summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-rebalance.c
diff options
context:
space:
mode:
authorAravinda VK <avishwan@redhat.com>2019-09-16 10:04:26 +0530
committerAtin Mukherjee <amukherj@redhat.com>2019-09-17 06:31:33 +0000
commitfc10f370289e32da6753ac9a9a529b60abb16c4d (patch)
treed3476b642bdcec0edfb32fce610c3747c1345d9b /xlators/cluster/dht/src/dht-rebalance.c
parent304640e55c0f3c6d15f4e230dc6376e4f5020fea (diff)
eventsapi: Set IPv4/IPv6 family based on input IP
server.sin_family was set to AF_INET while creating socket connection, this was failing if the input address is IPv6(`::1`). With this patch, sin_family is set by reading the ai_family of `getaddrinfo` result. Fixes: bz#1752330 Change-Id: I499f957b432842fa989c698f6e5b25b7016084eb Signed-off-by: Aravinda VK <avishwan@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-rebalance.c')
0 files changed, 0 insertions, 0 deletions