windows get_DNS_Windows port fix for ipv6

pull/535/head
bradh352 2 years ago
parent fbe21c825a
commit bad62225b7
  1. 2
      src/lib/ares_init.c

@ -956,7 +956,7 @@ static int get_DNS_Windows(char **outptr)
sizeof(addresses[addressesIndex].text),
"[%s]:%u",
ipaddr,
ntohs(namesrvr.sa4->sin_port));
ntohs(namesrvr.sa6->sin6_port));
++addressesIndex;
}
else {

Loading…
Cancel
Save