dns.mitm: fix issue in host file parsing

This commit is contained in:
Michael Scire authored and SciresM committed 2021-02-02 11:41:49 -08:00
1 parent d6477cf024
commit 658389fc60
2 files changed
+3 -2

No files matched your search

@@ -157,6 +157,7 @@ namespace ams::mitm::socket::resolver {
current_hostname[work] = '\x00';
g_redirection_map[static_cast<const char *>(current_hostname)] = current_address;
work = 0;
if (c == '\n') {
state = State::BeginLine;