From ca55fb8840858b86d1b026f9c020e92e8350af78 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 24 Mar 2021 17:15:55 +0100 Subject: [PATCH] resolved: don't mention confusing server switch on server-less protocols --- src/resolve/resolved-dns-transaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resolve/resolved-dns-transaction.c b/src/resolve/resolved-dns-transaction.c index 6eac7e9c57..f084a70e45 100644 --- a/src/resolve/resolved-dns-transaction.c +++ b/src/resolve/resolved-dns-transaction.c @@ -510,7 +510,7 @@ static void dns_transaction_retry(DnsTransaction *t, bool next_server) { /* Retries the transaction as it is, possibly on a different server */ - if (next_server) + if (next_server && t->scope->protocol == DNS_PROTOCOL_DNS) log_debug("Retrying transaction %" PRIu16 ", after switching servers.", t->id); else log_debug("Retrying transaction %" PRIu16 ".", t->id);