getifaddrs: less malloc
getifaddrs: one less indent level