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-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-06-02 19:09:37 +00:00
2001-05-02 13:30:42 +00:00
2001-06-04 13:08:54 +00:00
2001-03-30 16:32:52 +00:00
2001-03-26 14:42:20 +00:00
2001-05-15 05:13:45 +00:00
2001-06-07 12:35:53 +00:00
2001-06-11 17:48:15 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-05-30 08:13:39 +00:00
2001-05-25 09:24:50 +00:00
2001-06-24 12:38:28 +00:00
2001-05-31 19:30:19 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-06-16 03:16:52 +00:00
2001-06-20 23:21:02 +00:00
2001-05-06 03:03:45 +00:00
2001-03-26 14:42:20 +00:00
2001-05-12 14:34:46 +00:00
2001-06-20 14:52:20 +00:00
2001-06-23 19:24:18 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-03-27 16:45:16 +00:00
2001-06-11 12:39:29 +00:00
2001-06-06 06:16:19 +00:00
2001-06-06 06:16:19 +00:00
2001-06-06 06:16:19 +00:00
2001-06-06 06:16:19 +00:00
2001-03-27 16:45:16 +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-24 09:20:42 +00:00
2001-05-18 13:41:42 +00:00
2001-06-18 15:55:28 +00:00
2001-06-18 15:55:28 +00:00
2001-06-18 15:55:28 +00:00
2001-06-18 15:55:28 +00:00
2001-03-26 14:42:20 +00:00
2001-06-07 16:59:19 +00:00
2001-05-29 13:59:02 +00:00
2001-04-07 11:21:35 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-05-02 23:56:21 +00:00
2001-03-26 14:42:20 +00:00
2001-06-16 00:14:02 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-06-04 04:22:57 +00:00
2001-03-26 14:42:20 +00:00
2001-04-07 11:21:35 +00:00
2001-04-18 15:54:10 +00:00
2001-06-20 07:15:38 +00:00
2001-04-09 11:10:34 +00:00
2001-06-11 12:39:29 +00:00
2001-03-26 14:42:20 +00:00
2001-05-26 11:57:45 +00:00
2001-05-24 15:20:11 +00:00
2001-06-07 16:59:19 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-04-17 07:32:37 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-06-14 04:28:45 +00:00
2001-06-14 04:34:40 +00:00
2001-03-26 14:42:20 +00:00
2001-06-11 12:39:29 +00:00
2001-04-02 06:21:13 +00:00
2001-03-26 14:33:27 +00:00
2001-03-26 14:42:20 +00:00
2001-06-05 12:40:03 +00:00
2001-04-07 11:21:35 +00:00
2001-03-26 14:42:20 +00:00
1999-11-30 06:16:46 +00:00
2001-03-26 14:42:20 +00:00
2001-06-24 01:34:38 +00:00
2001-05-31 18:31:43 +00:00
2001-04-13 20:43:59 +00:00
2001-04-18 15:54:10 +00:00
2001-06-13 21:34:12 +00:00
2001-03-26 14:42:20 +00:00
2001-06-20 19:55:58 +00:00
2001-04-18 15:54:10 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-06-11 12:39:29 +00:00
2001-03-26 14:42:20 +00:00
2001-06-17 02:01:43 +00:00
2001-06-19 00:39:29 +00:00
2001-03-26 14:42:20 +00:00
2001-06-16 09:05:24 +00:00
2001-03-26 14:42:20 +00:00
2001-06-18 06:48:33 +00:00
2001-05-03 20:58:22 +00:00
2001-06-19 00:47:24 +00:00
2001-06-11 12:39:29 +00:00
2001-03-26 14:42:20 +00:00
2001-06-11 12:39:29 +00:00
2001-04-28 04:26:32 +00:00
2001-03-26 14:42:20 +00:00
2001-06-16 07:15:48 +00:00
2001-06-16 23:15:15 +00:00
2001-03-19 12:50:13 +00:00
2001-03-26 14:42:20 +00:00
2001-06-24 15:03:06 +00:00
2001-06-11 12:39:29 +00:00
2001-06-11 12:39:29 +00:00
2001-03-26 14:42:20 +00:00
2001-06-11 12:39:29 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-06-17 03:13:48 +00:00
2001-03-26 14:42:20 +00:00
2001-03-27 16:45:16 +00:00
2001-06-11 12:39:29 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-04-07 11:21:35 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-06-22 21:47:55 +00:00
2001-06-06 12:48:22 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-04-20 17:30:12 +00:00
2001-05-09 08:37:18 +00:00
2001-06-06 16:12:59 +00:00
2001-06-11 12:39:29 +00:00
2001-04-13 19:59:47 +00:00
2001-04-05 20:52:33 +00:00
2001-05-18 13:41:42 +00:00
2001-05-18 13:41:42 +00:00
2001-06-10 00:23:05 +00:00
2001-04-22 03:00:09 +00:00
2001-03-29 11:36:46 +00:00
2001-05-04 23:27:30 +00:00
2001-03-26 14:42:20 +00:00
2001-06-06 19:07:03 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-06-23 18:07:18 +00:00
2001-03-26 14:42:20 +00:00
2001-06-06 21:08:15 +00:00
2001-05-15 15:58:30 +00:00
2001-03-26 14:42:20 +00:00
2001-03-26 14:42:20 +00:00
2001-06-03 20:02:03 +00:00
2001-03-26 14:42:20 +00:00