From 22a35f03cc4374f144468f2f978a34330d21b443 Mon Sep 17 00:00:00 2001 From: Yaroslav Kolomiiets Date: Thu, 22 Aug 2024 15:35:53 +0000 Subject: [PATCH] loose AI_ADDRCONFIG from monitoring socket setup --- src/monitoring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monitoring.c b/src/monitoring.c index 5f96831..89d0504 100644 --- a/src/monitoring.c +++ b/src/monitoring.c @@ -111,7 +111,7 @@ static int create_socket(const char* address, const char* port) struct addrinfo hint = { .ai_family = AF_UNSPEC, .ai_protocol = IPPROTO_TCP, - .ai_flags = AI_PASSIVE | AI_NUMERICHOST | AI_ADDRCONFIG + .ai_flags = AI_PASSIVE | AI_NUMERICHOST }; status = getaddrinfo(address, port, &hint, &addresses);