1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-14 19:24:13 +03:00

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

This commit is contained in:
Lennart Poettering 2021-03-24 17:15:55 +01:00
parent b240c08d09
commit ca55fb8840

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 */ /* 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); log_debug("Retrying transaction %" PRIu16 ", after switching servers.", t->id);
else else
log_debug("Retrying transaction %" PRIu16 ".", t->id); log_debug("Retrying transaction %" PRIu16 ".", t->id);