diff --git a/stratosphere/ams_mitm/source/dns_mitm/dnsmitm_host_redirection.cpp b/stratosphere/ams_mitm/source/dns_mitm/dnsmitm_host_redirection.cpp index 4cc945678..c589dfcad 100644 --- a/stratosphere/ams_mitm/source/dns_mitm/dnsmitm_host_redirection.cpp +++ b/stratosphere/ams_mitm/source/dns_mitm/dnsmitm_host_redirection.cpp @@ -125,6 +125,8 @@ namespace ams::mitm::socket::resolver { current_address = 0; work = static_cast(c - '0'); state = State::Ip1; + } else if (c == '\n') { + state = State::BeginLine; } else { state = State::IgnoredLine; }