net: don't die in get_active_interfaces() and try both address families