Skip to content

Commit

Permalink
test 7
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed Dec 12, 2023
1 parent 661ee4e commit 93a99a8
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 @@ -34,7 +34,7 @@ static char *dns_resolve_filter(const char *host, int32_t family, uint8_t max_ad
hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;

err = getaddrinfo(host, NULL, &hints, &address_info);
err = getaddrinfo(host, "http", &hints, &address_info);
if (err != 0) {
LOG_ERROR("getaddr fail\n");
goto dns_resolve_error;
Expand Down

0 comments on commit 93a99a8

Please sign in to comment.