From 7b543cbc8e0f2f183a9637b7ca7a4542ed6cec24 Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Wed, 24 Jul 2024 09:42:49 +0200 Subject: [PATCH] test/async: remove AI_ADDRCONFIG If test system has no IPv4 address (besides localhost) getaddrinfo returns error. fixes #1164 --- test/async.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/async.c b/test/async.c index b0da51e91..c2f2c7a84 100644 --- a/test/async.c +++ b/test/async.c @@ -41,7 +41,7 @@ static int blocking_getaddr(void *arg) memset(&hints, 0, sizeof(hints)); hints.ai_family = AF_INET; - hints.ai_flags = AI_V4MAPPED | AI_ADDRCONFIG; + hints.ai_flags = AI_V4MAPPED; /* Blocking */