DEV9: DNS logger crash fix

This commit is contained in:
TheLastRar 2021-10-25 01:42:15 +01:00 committed by lightningterror
parent 23283b7f0a
commit 0dea6dbc9d
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ namespace InternalServers
}
for (size_t i = 0; i < dns->additional.size(); i++)
{
DNS_ResponseEntry entry = dns->authorities[i];
DNS_ResponseEntry entry = dns->additional[i];
Console.WriteLn("DEV9: DNS: Add%i Name %s", i, entry.name.c_str());
Console.WriteLn("DEV9: DNS: Add%i Type %i", i, entry.entryType);
Console.WriteLn("DEV9: DNS: Add%i Class %i", i, entry.entryClass);