resolved: never proceed processing truncated packets

Make sure we don't end up processing packets that are truncated.
Instead, actually let the TCP connection do its thing.
This commit is contained in:
Lennart Poettering
2015-12-27 01:41:39 +01:00
parent cbe4216dd1
commit 2a6658ef55
+2 -2
View File
@@ -664,9 +664,9 @@ void dns_transaction_process_reply(DnsTransaction *t, DnsPacket *p) {
dns_transaction_complete(t, DNS_TRANSACTION_RESOURCES);
return;
}
return;
}
return;
}
/* Parse message, if it isn't parsed yet. */