Fix showmount bugs.
authorNeil Brown <neilb@suse.de>
Thu, 22 Feb 2007 04:34:45 +0000 (15:34 +1100)
committerNeil Brown <neilb@suse.de>
Thu, 22 Feb 2007 04:34:45 +0000 (15:34 +1100)
commit66d8e2870b8d3e91c27a66ebc85e012a3cda9c69
tree531113664d3a1c5261a0dcc53008392b18123884
parent944011f65513aa4c1b69fa92e0f51b8aef7c1cbc
Fix showmount bugs.

When doing a nonblocked connect, we need to select for 'write', not 'read'.

Also, when a tcp socket has been connected, we should use clnttcp_create
to make a tcp client, not clntudp_bufcreate !!
utils/showmount/showmount.c