diff options
author | Alexey Izbyshev <izbyshev@ispras.ru> | 2023-02-25 01:07:33 +0300 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2023-02-27 10:03:56 -0500 |
commit | d0b7f9768df133428b6587a5273551c56c46d6a6 (patch) | |
tree | df653ccc3e63dec0ec704bb658880b7362bf72aa /src/network/h_errno.c | |
parent | bec42ef393c0ad64e699a901ab0746d16bfde251 (diff) | |
download | musl-d0b7f9768df133428b6587a5273551c56c46d6a6.tar.gz |
dns: fix workaround for systems defaulting to ipv6-only sockets
When IPv6 nameservers are present, __res_msend_rc attempts to disable
IPV6_V6ONLY socket option to ensure that it can communicate with IPv4
nameservers (if they are present too) via IPv4-mapped IPv6 addresses.
However, this option can't be disabled on bound sockets, so setsockopt
always fails.
Diffstat (limited to 'src/network/h_errno.c')
0 files changed, 0 insertions, 0 deletions