commit | dd1fd90fe65e2e642f0e58e2ff4849f317a6c43d | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Thu Dec 03 15:58:56 2009 -0500 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Dec 03 15:58:56 2009 -0500 |
tree | 2519545d939d3ec6aab754f49866579c1e65b185 | |
parent | a01878aac57eac6eb4bf194788ab2cc440490d0f [diff] |
SUNRPC: Display compressed (shorthand) IPv6 presentation addresses Recent changes to snprintf() introduced the %pI6c formatter, which can display an IPv6 address with standard shorthanding. Using a shorthanded address can save us a few bytes of memory for each stored presentation address, or a few bytes on the wire when sending these in a universal address. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>