Change the default transport protocol for use by the Mount protocol
from UDP to TCP, so that it is consistent with TCP for NFS, which became the default at r176198. Without this change, doing an NFS mount against a server that only supports UDP would result in an unusable mount point if a transport protocol option wasn't specified for the mount. Approved by: kib (mentor) MFC after: 3 days
This commit is contained in:
parent
f414327c25
commit
c5a0c16f80
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197298
@ -104,7 +104,7 @@ struct nfhret {
|
||||
#define OF_NOINET6 8
|
||||
int retrycnt = -1;
|
||||
int opflags = 0;
|
||||
int nfsproto = IPPROTO_UDP;
|
||||
int nfsproto = IPPROTO_TCP;
|
||||
int mnttcp_ok = 1;
|
||||
int noconn = 0;
|
||||
char *portspec = NULL; /* Server nfs port; NULL means look up via rpcbind. */
|
||||
|
Loading…
Reference in New Issue
Block a user