resolv: fix IPv6 resolution on Darwin
res_sockaddr_union() has a field for IPv4 and a field for IPv6. When we
used &servers[i].sin.sin_addr
, it does not return the right address
for IPv6.
res_sockaddr_union() has a field for IPv4 and a field for IPv6. When we
used &servers[i].sin.sin_addr
, it does not return the right address
for IPv6.