Fix linked list of ifaddrs in implementations of rep_getifaddrs.