From: Etienne Dechamps Date: Sat, 5 Jul 2014 18:51:19 +0000 (+0100) Subject: Canonicalize IPv6 addresses as per RFC 5952 before printing them. X-Git-Tag: release-1.1pre11~80 X-Git-Url: http://tinc-vpn.org/git/browse?a=commitdiff_plain;h=d0d01a44485ee04f60a8fccf9bdf8311e23ffa43;hp=d0d01a44485ee04f60a8fccf9bdf8311e23ffa43;p=tinc Canonicalize IPv6 addresses as per RFC 5952 before printing them. Currently we don't do any shortening on IPv6 addresses (aside from removing trailing zeroes) before printing them. This commit makes textual addresses smaller by shortening them according to the rules described in RFC 5952. This is also the canonical textual representation for IPv6 addresses, thus making them easier to compare. ---