dyoung 46db29bcf1 Bring getifaddrs(3) behavior in line with the documentation: the
ifa_data member of every AF_LINK struct ifaddrs points at the
corresponding struct if_data.  In ifconfig(8), do not try to suppress
duplicate AF_LINK ifaddrs by checking for a NULL ifa_data.

Don't copy out two AF_LINK struct ifaddrs for each active link-layer
address. getifaddrs(3) used to copy out one ifaddrs for the kernel's
RTM_IFINFO message, and one more for the kernel's RTM_NEWADDR message.
I suppress the first duplicate with a highly conservative change that
wastes a little bit of ifaddrs storage.  The storage is not leaked.
2009-04-27 20:10:49 +00:00
..
2009-04-20 22:07:23 +00:00
2009-04-11 07:58:11 +00:00
2009-04-11 07:31:21 +00:00
2009-04-11 07:20:09 +00:00
2009-04-11 07:37:50 +00:00
2009-04-11 07:40:37 +00:00
2009-04-15 23:03:34 +00:00