From ffbdf29c10dbf21aa450d43cf5cede682f6b5ea4 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Mon, 1 Feb 2021 13:54:55 -0800 Subject: [PATCH] dns.mitm: fix ABORT_UNLESS -> ABORT --- stratosphere/ams_mitm/source/dns_mitm/dnsmitm_resolver_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stratosphere/ams_mitm/source/dns_mitm/dnsmitm_resolver_impl.cpp b/stratosphere/ams_mitm/source/dns_mitm/dnsmitm_resolver_impl.cpp index 50e1eb831..c8408e276 100644 --- a/stratosphere/ams_mitm/source/dns_mitm/dnsmitm_resolver_impl.cpp +++ b/stratosphere/ams_mitm/source/dns_mitm/dnsmitm_resolver_impl.cpp @@ -57,7 +57,7 @@ namespace ams::mitm::socket::resolver { switch (ai.ai_family) { case AF_UNSPEC: 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(); }