]> git.decadent.org.uk Git - nfs-utils.git/commit
mount command: Replace clnt_ping() and getport() calls in probe_port()
authorChuck Lever <chuck.lever@oracle.com>
Tue, 2 Dec 2008 12:43:01 +0000 (07:43 -0500)
committerSteve Dickson <steved@redhat.com>
Tue, 2 Dec 2008 12:43:01 +0000 (07:43 -0500)
commitcc58ba0c98b2f687810a5af9e6185bcc5e855fb0
tree13186d0dc2ee822575ec1aa77bfbc3b6ff6da764
parent14b0dae49afae3fcf05c19ae84829aeef2f6876e
mount command: Replace clnt_ping() and getport() calls in probe_port()

Update the mount command's probe_port() function to call the new shared
rpcbind query and RPC ping functions.  This provides immediate support
for
rpcbind v3/v4 queries, and paves the way for supporting AF_INET6 in the
probe_bothports() path.

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