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.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
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.