DEV9: DNS logger crash fix

This commit is contained in:
TheLastRar authored and lightningterror committed 2021-10-28 19:48:20 +02:00
1 parent 23283b7f0a
commit 0dea6dbc9d
1 file changed
+1 -1
+1 -1
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);