From: Chuck Lever Date: Tue, 25 Nov 2008 13:38:01 +0000 (-0500) Subject: showmount command: move logic to acquire RPC client handle out of main() X-Git-Tag: nfs-utils-1-1-5~57 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=1c96846ba3adeb59a61e0cf33cf4c94c0678853f;hp=1c96846ba3adeb59a61e0cf33cf4c94c0678853f;p=nfs-utils.git showmount command: move logic to acquire RPC client handle out of main() 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 Signed-off-by: Steve Dickson ---