CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/09/17 04:47:30
Modified files:
lib/libc/asr : getaddrinfo_async.c
Log message:
Do not limit numeric host address conversion by family in resolv.conf
Problem reported by yasuoka in sshd(8), which uses:
AddressFamily any
ListenAddress 0.0.0.0
ListenAddress ::
getaddrinfo(3) would only convert numeric host addresses for address
families that are listed in /etc/resolv.conf and fail the others,
leading to sshd(8) not listening on all address families.
On the other hand, getaddrinfo(3) would convert all addresses if
AI_NUMERICHOST was given, which is the correct behaviour.
Initial diff provided by & ok yasuoka