mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-30 16:51:41 +00:00
Fix -o mntudp after the conversion to default TCP mounts
Submitted by: danfe MFC after: 1 week
This commit is contained in:
parent
774b72e12e
commit
bf005f321e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=180435
@ -391,8 +391,11 @@ main(int argc, char *argv[])
|
||||
opflags |= OF_NOINET4;
|
||||
if (altflags & ALTF_NOINET6)
|
||||
opflags |= OF_NOINET6;
|
||||
if (altflags & ALTF_MNTUDP)
|
||||
if (altflags & ALTF_MNTUDP) {
|
||||
mnttcp_ok = 0;
|
||||
nfsargsp->sotype = SOCK_DGRAM;
|
||||
nfsproto = IPPROTO_UDP;
|
||||
}
|
||||
if (altflags & ALTF_TCP) {
|
||||
nfsargsp->sotype = SOCK_STREAM;
|
||||
nfsproto = IPPROTO_TCP;
|
||||
|
Loading…
Reference in New Issue
Block a user