Improved return type for ifaddr, set_ipv4 is now set_ipaddr.