path: root/arch/i386
diff options
authorRich Felker <>2013-07-25 03:20:02 -0400
committerRich Felker <>2013-07-25 03:20:02 -0400
commit1cd417bdf10366d63cc875e285c6418709a58c17 (patch)
tree232d9d35ba1da858c6da35e9513eb6cd3ce4361e /arch/i386
parent43d2531316270633589c67cf0c4d6d01e520a397 (diff)
make inet_ntop format v4-mapped ipv6 addresses properly
based on a patch by orc. POSIX actually fails to specify the format of the ntop conversion; presumably, any output that will correctly round-trip back via the (well-specified) pton operation is acceptable. the new behavior is much more convenient than the old, however. this patch also affects getnameinfo, which is implemented in terms of inet_ntop and which is the preferred interface for performing this conversion. I've also removed some inexplicable cruft (filling the buffer with 'x' before doing anything) whose origin I was unable to track down.
Diffstat (limited to 'arch/i386')
0 files changed, 0 insertions, 0 deletions