diff options
author | Aravinda VK <avishwan@redhat.com> | 2019-09-16 10:04:26 +0530 |
---|---|---|
committer | Xavi Hernandez <xhernandez@redhat.com> | 2020-02-28 09:00:27 +0100 |
commit | 0bfb22c7d7e6a41c920cb3556c6a55474c66b6cf (patch) | |
tree | ae6d13e22f6df7132d30f8e19422fa6dea812ef1 /configure.ac | |
parent | dabdb62dc5fe0b343cceb3a95140ca6c554d6181 (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.
Backport of:
> Fixes: bz#1752330
> Change-Id: I499f957b432842fa989c698f6e5b25b7016084eb
> Signed-off-by: Aravinda VK <avishwan@redhat.com>
Fixes: bz#1807786
Change-Id: I499f957b432842fa989c698f6e5b25b7016084eb
Signed-off-by: Aravinda VK <avishwan@redhat.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions