mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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)
This commit is contained in:
parent
0dcda942fd
commit
7a8a559822
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue