From Bugzilla Helper: User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.5 i686) Description of problem: I'm calling getaddrinfo on a hostname (raeburn.org) for which there are two IPv6 and two IPv4 addresses. Printing out the returned addresses shows me two IPv6 addrs and one IPv4. (glibc-2.2.2-10) Same program on Debian "testing" (libc6-2.2.3-5) shows all four addresses, as does "nslookup -type=any raeburn.org" on the Red Hat host. How reproducible: Always Steps to Reproduce: 1. try sample program, which looks up my host, raeburn.org 2. 3. Actual Results: rh71% ./foo family 10 family 10 address 18.101.0.225 Expected Results: debian% ./foo family 10 family 10 address 208.59.178.68 address 18.101.0.225 Additional info:
Created attachment 24407 [details] test case for getaddrinfo(raeburn.org)
I've tried e.g. glibc-2.2.3-1[123] and it works there too.