Skip to content

Commit

Permalink
test/async: remove AI_ADDRCONFIG
Browse files Browse the repository at this point in the history
If test system has no IPv4 address (besides localhost) getaddrinfo
returns error.

fixes #1164
  • Loading branch information
sreimers committed Jul 24, 2024
1 parent d63bb23 commit 26f87a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/async.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 26f87a7

Please sign in to comment.