showmount command: call nfs_getport instead of local getport
authorChuck Lever <chuck.lever@oracle.com>
Tue, 25 Nov 2008 13:15:51 +0000 (08:15 -0500)
committerSteve Dickson <steved@redhat.com>
Tue, 25 Nov 2008 13:15:51 +0000 (08:15 -0500)
commitbb3e50bd5c4f6bf94221ef69d4dc87e73d0e474b
tree912b251d27d2afaf17939d7f55fa515c7afefe92
parent9888a72c18c0798b0fd352f02d5985aa75637743
showmount command: call nfs_getport instead of local getport

Have the showmount command invoke the shared nfs_getport() function
instead of its own local version.  This gives the showmount command
immediate support for querying via rpcbindv3/v4 in addition to
portmapper, and sets the stage for AF_INET6 support in showmount.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/showmount/showmount.c