Ian Dowse 99d4ecdfc0 Clean up the addrmerge() function, which was over-complicated and
contained a number of memory leaks. The changes include:

 - Add a comment describing what addrmerge() does.
 - Deal with 0.0.0.0./::. or AF_LOCAL callers correctly.
 - Use rpcbind_get_conf() instead of getnetconfigent() so we don't
   have to remember to free the returned netconfig struct.
 - Make just one pass through the ifaddrs list; we can pick up a fallback
   interface address in the same pass as the netmask comparison.
 - Define and use SA2SIN* macros to avoid the need for loads of
   protocol-specific local variables.
 - Use mostly protocol-independent code for building the netbuf version
   of the address to be returned.
 - Use the common cleanup code for virtually all error and non-error
   cases, fixing a number of memory leaks.
2001-06-24 15:03:06 +00:00
..
2001-06-02 19:09:37 +00:00
2001-06-04 13:08:54 +00:00
2001-03-30 16:32:52 +00:00
2001-05-30 08:13:39 +00:00
2001-05-12 14:34:46 +00:00
2001-06-11 12:39:29 +00:00
2001-06-11 12:39:29 +00:00
2001-06-05 15:16:45 +00:00
2001-06-11 12:39:29 +00:00
2001-06-07 16:59:19 +00:00
2001-04-07 11:21:35 +00:00
2001-04-07 11:21:35 +00:00
2001-04-18 15:54:10 +00:00
2001-06-11 12:39:29 +00:00
2001-06-07 16:59:19 +00:00
2001-06-11 12:39:29 +00:00
2001-04-02 06:21:13 +00:00
2001-06-05 12:40:03 +00:00
2001-04-07 11:21:35 +00:00
2001-06-24 01:34:38 +00:00
2001-04-18 15:54:10 +00:00
2001-04-18 15:54:10 +00:00
2001-06-11 12:39:29 +00:00
2001-06-11 12:39:29 +00:00
2001-06-11 12:39:29 +00:00
2001-06-11 12:39:29 +00:00
2001-06-11 12:39:29 +00:00
2001-06-11 12:39:29 +00:00
2001-06-11 12:39:29 +00:00
2001-04-07 11:21:35 +00:00
2001-05-09 08:37:18 +00:00
2001-06-11 12:39:29 +00:00
2001-04-22 03:00:09 +00:00
2001-06-03 20:02:03 +00:00