dns.mitm: fix ABORT_UNLESS -> ABORT

This commit is contained in:
Michael Scire 2021-02-01 13:54:55 -08:00
parent b93fd40550
commit 5b0821cb03

View File

@ -57,7 +57,7 @@ namespace ams::mitm::socket::resolver {
switch (ai.ai_family) { switch (ai.ai_family) {
case AF_UNSPEC: ai.ai_family = AF_INET; break; case AF_UNSPEC: ai.ai_family = AF_INET; break;
case AF_INET: ai.ai_family = AF_INET; break; case AF_INET: ai.ai_family = AF_INET; break;
case AF_INET6: AMS_ABORT_UNLESS("Redirected INET6 not supported"); break; case AF_INET6: AMS_ABORT("Redirected INET6 not supported"); break;
AMS_UNREACHABLE_DEFAULT_CASE(); AMS_UNREACHABLE_DEFAULT_CASE();
} }