X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Fnetwork.c;h=220bbce0abb57b122e2d2a77f853590e21f31f70;hp=af37ef62f06a9f26de7b9390f69aeb37428e53b1;hb=e0bd50287a907b33015b53c581040a870d8ff12a;hpb=612141ad76b47cb3d7ae505795d6a1ca45b77201 diff --git a/utils/mount/network.c b/utils/mount/network.c index af37ef6..220bbce 100644 --- a/utils/mount/network.c +++ b/utils/mount/network.c @@ -34,7 +34,6 @@ #include #include -#include "conn.h" #include "xcommon.h" #include "mount.h" #include "nls.h" @@ -334,7 +333,6 @@ static int probe_port(clnt_addr_t *server, const unsigned long *versions, p_vers = vers ? &vers : versions; rpc_createerr.cf_stat = 0; for (;;) { - saddr->sin_port = htons(PMAPPORT); p_port = getport(saddr, prog, *p_vers, *p_prot); if (p_port) { if (!port || port == p_port) {