dns.mitm: fix hosts file parsing bug
This commit is contained in:
1 parent
bcda834980
commit
8eb65ab401
1 file changed
+2
@@ -125,6 +125,8 @@ namespace ams::mitm::socket::resolver {
|
||||
current_address = 0;
|
||||
work = static_cast<u32>(c - '0');
|
||||
state = State::Ip1;
|
||||
} else if (c == '\n') {
|
||||
state = State::BeginLine;
|
||||
} else {
|
||||
state = State::IgnoredLine;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user