Skip to content

Commit

Permalink
Try fixing local dns lookup on macOS instances.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed Dec 12, 2023
1 parent 8d75d9c commit 83815f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ static char *dns_resolve_filter(const char *host, int32_t family, uint8_t max_ad
}

hints.ai_flags = 0;
err = getaddrinfo(name, NULL, &hints, &address_info);
err = getaddrinfo(name, NULL, NULL, &address_info);
if (err != 0)
goto dns_resolve_error;

Expand Down

0 comments on commit 83815f4

Please sign in to comment.