Pedro F. Giffuni b4e7a879ab Fix __rpc_getconfip
__rpc_getconfip is supposed to return the first netconf
entry supporting tcp or udp, respectively. The code will
currently return the *last* entry, plus it will leak
memory when there is more than one such entry.

This change matches the reference (OpenSolaris)
implementation.

Tested by:	David Wolfskill
Obtained from:	Bull GNU/linux NFSv4 Project (libtirpc)
MFC after:	1 week
2012-10-02 19:03:21 +00:00
..
2012-10-02 19:03:21 +00:00
2012-06-02 08:47:26 +00:00
2012-02-11 20:43:01 +00:00
2012-04-18 07:02:53 +00:00
2012-09-28 12:29:25 +00:00
2012-09-06 19:24:48 +00:00
2012-05-11 20:06:46 +00:00
2012-02-25 14:31:25 +00:00
2012-06-21 21:47:08 +00:00
2012-09-29 16:40:12 +00:00
2012-08-15 20:02:54 +00:00