Fix -o mntudp after the conversion to default TCP mounts
Submitted by: danfe MFC after: 1 week
This commit is contained in:
parent
4b0dbab536
commit
b1f6c11549
@ -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…
x
Reference in New Issue
Block a user