Skip to content

resolv: fix IPv6 resolution on Darwin

osy requested to merge osy/libslirp:master into master

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.

Merge request reports

Loading