summaryrefslogtreecommitdiffstats
path: root/support/nfs/conn.c
Commit message (Collapse)AuthorAgeFilesLines
* Use socklen_t some more to avoid warnings.Greg Banks2006-07-031-1/+6
|
* Merge branch 'master' of git://linux-nfs.org/nfs-utilsGreg Banks2006-07-031-3/+10
|\
| * Try to make sure that clientid used for NFSv4 is reliable.Neil Brown2006-06-231-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | We need to give an IP address to identify this client to the server. The current code does a gethostbyname of the hostname. One some systems this returns 127.0.0.1 or similar, which is not useful. Instead, use getsockname of the sock used to connect to the server to confirm that the server is working. This gives the address on the interface that was chosen to talk to that server, which is the best address we can find (if there is a NAT in the way, it might still not work, but in that case there is nothing we can do).
* | Fix a number of the easier compile warnings: unused variables,Greg Banks2006-06-221-0/+1
|/ | | | unused labels, constness, signedness.
* Move NFS mount code from util-linux to nfs-utils - part 2Amit Gud2006-06-161-0/+211
Adds the support functions needed for mount and umount. This functionality will someday be available in the form of shared mount library. Signed-off-by: Amit Gud <agud@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>