handle them like UNKNOWN.
Found the hard way by kn.
-/* $OpenBSD: resolver.c,v 1.135 2021/01/25 16:56:59 florian Exp $ */
+/* $OpenBSD: resolver.c,v 1.136 2021/01/26 12:46:46 florian Exp $ */
/*
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
return;
switch (state) {
+ case DEAD:
case UNKNOWN:
check_resolver(resolvers[type]);
break;
case RESOLVING:
resolvers[type]->state = state;
break;
- default:
- fatalx("%s: invalid resolver state: %s", __func__,
- uw_resolver_state_str[state]);
}
}