fixes #42

Added extra sanity check if both ifa.ifa_addr and if.ifa_next are false.