]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mount/nfsumount.c
umount.nfs: make umount.nfs use UDP by default
[nfs-utils.git] / utils / mount / nfsumount.c
index ae2b2d201fe41df575ff5c46e97995bd750dc577..a0fe78ea1cd52456bd6cbdce784fa5846a87ac80 100644 (file)
@@ -200,7 +200,6 @@ int _nfsumount(const char *spec, char *opts)
 
        pmap->pm_prog = MOUNTPROG;
        pmap->pm_vers = MOUNTVERS_NFSV3;
-       pmap->pm_prot = IPPROTO_TCP;
        if (opts && (p = strstr(opts, "mountprog=")) && isdigit(*(p+10)))
                pmap->pm_prog = atoi(p+10);
        if (opts && (p = strstr(opts, "mountport=")) && isdigit(*(p+10)))