Date: Fri, 26 Jul 2002 00:52:21 -0700 (PDT) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/rpc rpcb_clnt.c Message-ID: <200207260752.g6Q7qLYG034911@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2002/07/26 00:52:21 PDT Modified files: lib/libc/rpc rpcb_clnt.c Log: Revert part of revision 1.10, as it broke portmap lookups for IPv4 TCP clients. The problem was that a struct netconfig returned by getnetconfigent() was being treated as a handle for __rpc_getconf(), which certainly isn't right. The tirpc-99 code uses __rpc_setconf("udp")/__rpc_getconf() to find the IPv4 udp netconfig, but our implementation of these functions seem happy to return IPv6 entries, so we can't use them. By reverting to the old version, we are hard-coding the name of the udp4 netid. Tracked down by: Bakul Shah <bakul@bitblocks.com> Revision Changes Path 1.11 +3 -9 src/lib/libc/rpc/rpcb_clnt.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207260752.g6Q7qLYG034911>