]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
showmount command: move logic to acquire RPC client handle out of main()
authorChuck Lever <chuck.lever@oracle.com>
Tue, 25 Nov 2008 13:38:01 +0000 (08:38 -0500)
committerSteve Dickson <steved@redhat.com>
Tue, 25 Nov 2008 13:38:01 +0000 (08:38 -0500)
In preparation to support IPv6 in the showmount command, extract the
logic that parses/acquires the target hostname and converts it into an RPC
client handle to contact the remote mountd service, and move it into its
own function.

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

No differences found