Rewrote get_ifi_info_linuxv6 to use getifaddrs (and got rid of most of the code while at it). Hopefully more correct too.