This means that if mountd is run with "--no-nfs-version 3",
[nfs-utils.git] / utils / mount / network.c
index 63d5f5a..2b09457 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;
        }