[Bug 835] Enable IPv6 on AIX

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Feb 9 18:16:56 EST 2005


http://bugzilla.mindrot.org/show_bug.cgi?id=835





------- Additional Comments From dtucker at zip.com.au  2005-02-09 18:16 -------
Created an attachment (id=809)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=809&action=view)
Test for badly broken getaddrinfo on AIX and work around partially busted
getnameinfo

This patch tests for badly broken getaddrinfo on AIX enables IPv6 if it tests
OK.

Additionally, AIX's getnameinfo (on 5.2 ML2, anyway) will refuse to resolve the
all-zeros IPv6 address, so the patch has a hackish workaround for that too.  If
this is fixed (or going to be fixed) the hack ought to be discarded.   Even
without the hack, 5.2's get{name,addr}info functions are at least as capable as
the ones in the compat library.

Tested on AIX 5.2 ML2 (detects IPv6 ok), 5.1 ML4 (detects broken getaddrinfo)
and AIX 4.3.3 (unknown ML, detects broken getaddrinfo).

The loginmsg bits are not intended for long-term use, there's just a work
around for a linker problem until it can be (separately) fixed properly.

If you try this you will need to run "autoreconf" after applying the patch.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list