add missing __rpc_fixup_addr.

it's needed to make mount_nfs -T work for scoped addresses.
This commit is contained in:
yamt 2002-10-02 01:22:09 +00:00
parent 6d65957bf1
commit b8bc8c45f2
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: rpcb_clnt.c,v 1.10 2001/11/04 14:43:55 lukem Exp $ */
/* $NetBSD: rpcb_clnt.c,v 1.11 2002/10/02 01:22:09 yamt Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@ -863,6 +863,9 @@ try_rpcbind:
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 */