SUNRPC: Use short-hand IPv6 ANYADDR for RPCB_SET
authorChuck Lever <chuck.lever@oracle.com>
Mon, 15 Sep 2008 21:27:30 +0000 (16:27 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Mon, 29 Sep 2008 22:13:40 +0000 (18:13 -0400)
commit9d548b9c955c0709d1229d21d0bc14afa6b356de
tree99a742858c6ad53d4bc790aa096561f18c97a5b0
parent2c7eb0b206b8408d92c518033a359f4374c75314
SUNRPC: Use short-hand IPv6 ANYADDR for RPCB_SET

Clean up: When doing an RPCB_SET, make the kernel's rpcb client use the
shorthand "::" for the universal form of the IPv6 ANY address.

Without this patch, rpcbind will advertise:

  0000:0000:0000:0000:0000:0000:0000:0000.x.y

This is cosmetic only.  It cleans up the display of information from
/sbin/rpcinfo.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
net/sunrpc/rpcb_clnt.c