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-26 14:37:07 +01:00
parent cbe4216dd1
commit 2a6658ef55
1 changed files with 2 additions and 2 deletions

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. */