dns.mitm: fix issue in host file parsing

This commit is contained in:
Michael Scire committed 2021-01-30 20:16:45 -08:00
1 parent 6706fa49dc
commit a804e62293
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;