diff --git a/net_util.c b/net_util.c index 19ec49f..1b5bd95 100644 --- a/net_util.c +++ b/net_util.c @@ -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;