AddressInfo internals: Look up addresses using getifaddrs().
This library function is more standardized than the hodgepodge used previously: it works on FreeBSD, Mac, and Linux. However, I'm not sure libraries like uclibc provide it, so keep the old Linux version; but use it only if getifaddrs is not available. Signed-off-by: Eddie Kohler <firstname.lastname@example.org>
Showing with 153 additions and 151 deletions