Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion TESTS/netsocket/dns/asynchronous_dns_multi_ip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void do_getaddrinfo_async(const char hosts[][DNS_TEST_HOST_LEN], unsigned int op
// Create callback semaphore and data
rtos::Semaphore semaphore;
dns_application_data_multi_ip *data = new dns_application_data_multi_ip[op_count];
SocketAddress hints{{NSAPI_IPv4}, 80};
SocketAddress hints{{NSAPI_UNSPEC}, 80};

unsigned int count = 0;
for (unsigned int i = 0; i < op_count; i++) {
Expand Down
2 changes: 1 addition & 1 deletion TESTS/netsocket/dns/synchronous_dns_multi_ip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void do_getaddrinfo(const char hosts[][DNS_TEST_HOST_LEN], unsigned int op_count
(*exp_dns_failure) = 0;
(*exp_timeout) = 0;

SocketAddress hints{{NSAPI_IPv4}, 80};
SocketAddress hints{{NSAPI_UNSPEC}, 80};
for (unsigned int i = 0; i < op_count; i++) {
SocketAddress *result;
nsapi_error_t err = NetworkInterface::get_default_instance()->get_default_instance()->getaddrinfo(hosts[i], &hints, &result);
Expand Down