resolved: don't mention confusing server switch on server-less protocols

This commit is contained in:
Lennart Poettering
2021-03-26 11:37:49 +01:00
parent b240c08d09
commit ca55fb8840
+1 -1
View File
@@ -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);