From: Lennart Poettering Date: Wed, 24 Mar 2021 16:15:55 +0000 (+0100) Subject: resolved: don't mention confusing server switch on server-less protocols X-Git-Tag: v249-rc1~497^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ca55fb8840858b86d1b026f9c020e92e8350af78;p=thirdparty%2Fsystemd.git resolved: don't mention confusing server switch on server-less protocols --- diff --git a/src/resolve/resolved-dns-transaction.c b/src/resolve/resolved-dns-transaction.c index 6eac7e9c579..f084a70e45c 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);