summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/resolve/resolved-dns-transaction.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resolve/resolved-dns-transaction.c b/src/resolve/resolved-dns-transaction.c
index ce02a3b6d0..b9a1eaff19 100644
--- a/src/resolve/resolved-dns-transaction.c
+++ b/src/resolve/resolved-dns-transaction.c
@@ -692,6 +692,8 @@ void dns_transaction_process_reply(DnsTransaction *t, DnsPacket *p) {
return;
}
+ log_debug("Reply truncated, retrying via TCP.");
+
/* Response was truncated, let's try again with good old TCP */
r = dns_transaction_open_tcp(t);
if (r == -ESRCH) {
@@ -714,10 +716,8 @@ void dns_transaction_process_reply(DnsTransaction *t, DnsPacket *p) {
/* On DNS, couldn't send? Try immediately again, with a new server */
dns_transaction_retry(t);
- return;
}
- log_debug("Reply truncated, retrying via TCP.");
return;
}