]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r197298:
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 15 Oct 2009 19:50:00 +0000 (19:50 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 15 Oct 2009 19:50:00 +0000 (19:50 +0000)
commit85cf7a68238eb4c18c57c64e3e6a6c29fb2b63ae
treef0bf68e8820b316e0e5a056e41749e023842ba5e
parent0dde098dc4c47095ad3f735d6e7f5e402a203610
MFC r197298:
Change the default transport protocol for use by the Mount protocol
and the NFS Null RPC done by mount_nfs from UDP to TCP, so that it is
consistent with the kernel, which already uses NFS over TCP by
default. Without this change, doing an NFS mount
against a server that only supports UDP results in an unusable
mount point if a transport protocol option wasn't specified for the
mount.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@198150 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/mount_nfs/mount_nfs.c