mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-03 08:08:39 -04:00
dns.mitm: fix issue in host file parsing
This commit is contained in:
parent
d6477cf024
commit
658389fc60
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue