dns.mitm: fix ABORT_UNLESS -> ABORT

This commit is contained in:
Michael Scire
2021-02-01 13:54:55 -08:00
committed by SciresM
parent 135d42ffee
commit ffbdf29c10

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();
} }