1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-08 13:11:49 +00:00

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