Add missing __rpc_fixup_addr. This is needed to make

mount_nfs -T work for scoped addresses.

NetBSD Rev 1.11

Reviewed by:	phk
Obtained from:	NetBSD
This commit is contained in:
mbr 2003-01-27 22:27:55 +00:00
parent b894b3adc9
commit 7d88911aad

View File

@ -918,6 +918,9 @@ __rpcb_findaddr_timed(program, version, nconf, host, clpp, tp)
if ((address = got_entry(relp, nconf)) != NULL) {
xdr_free((xdrproc_t) xdr_rpcb_entry_list_ptr,
(char *)(void *)&relp);
CLNT_CONTROL(client, CLGET_SVC_ADDR,
(char *)(void *)&servaddr);
__rpc_fixup_addr(address, &servaddr);
goto done;
}
/* Entry not found for this transport */