]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mount/network.c
This means that if mountd is run with "--no-nfs-version 3",
[nfs-utils.git] / utils / mount / network.c
index 63d5f5acdebfbd3a78ef5acbd5439a7bd3e35fcc..2b09457524e9fa0754c3e93115456c6b5ca82407 100644 (file)
@@ -417,10 +417,6 @@ static int probe_port(clnt_addr_t *server, const unsigned long *versions,
                                continue;
                        p_prot = protos;
                }
-               if (vers == pmap->pm_vers) {
-                       p_vers = versions;
-                       vers = 0;
-               }
                if (vers || !*++p_vers)
                        break;
        }