diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-07-25 03:20:02 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-07-25 03:20:02 -0400 |
commit | 1cd417bdf10366d63cc875e285c6418709a58c17 (patch) | |
tree | 232d9d35ba1da858c6da35e9513eb6cd3ce4361e /include | |
parent | 43d2531316270633589c67cf0c4d6d01e520a397 (diff) | |
download | musl-1cd417bdf10366d63cc875e285c6418709a58c17.tar.gz musl-1cd417bdf10366d63cc875e285c6418709a58c17.tar.xz musl-1cd417bdf10366d63cc875e285c6418709a58c17.zip |
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 'include')
0 files changed, 0 insertions, 0 deletions