commit | 5c8e69267b9ae919e55eee4b79580224111bc3ba | [log] [tgz] |
---|---|---|
author | Arthur Jones <arthur.jones@riverbed.com> | Tue Jun 05 16:51:27 2018 -0700 |
committer | Rich Felker <dalias@aerifal.cx> | Tue Jun 26 16:47:31 2018 -0400 |
tree | 400887a1d8879984a86d3c1a13f44550dd42bf80 | |
parent | da5851e9f464f74533cc8270c932cf6466ff3256 [diff] |
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.