diff options
author | Arthur Jones <arthur.jones@riverbed.com> | 2018-06-05 16:51:27 -0700 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-06-26 16:47:31 -0400 |
commit | 5c8e69267b9ae919e55eee4b79580224111bc3ba (patch) | |
tree | 400887a1d8879984a86d3c1a13f44550dd42bf80 /src/stdio/printf.c | |
parent | da5851e9f464f74533cc8270c932cf6466ff3256 (diff) | |
download | musl-5c8e69267b9ae919e55eee4b79580224111bc3ba.tar.gz |
inet_ntop: do not compress single zeros in IPv6
maintainer's note: this change is for conformance with RFC 5952,
4.2.2, which explicitly forbids use of :: to shorten a single 16-bit 0
field when producing the canonical text representation for an IPv6
address. fixes a test failure reported by Philip Homburg, who also
submitted a patch, but this fix is simpler and should produce smaller
code.
Diffstat (limited to 'src/stdio/printf.c')
0 files changed, 0 insertions, 0 deletions