mirror of
https://github.com/systemd/systemd.git
synced 2025-03-13 00:58:27 +03:00
resolved: improve log message when we use TCP a bit
DNS-over-TLS being in use isn't precisely the same as "UDP not supported". Let's make this clearer.
This commit is contained in:
parent
ce9fb09e96
commit
6c0bacc146
@ -1712,7 +1712,7 @@ int dns_transaction_go(DnsTransaction *t) {
|
||||
if (r == -EMSGSIZE)
|
||||
log_debug("Sending query via TCP since it is too large.");
|
||||
else if (r == -EAGAIN)
|
||||
log_debug("Sending query via TCP since UDP isn't supported.");
|
||||
log_debug("Sending query via TCP since UDP isn't supported or DNS-over-TLS is selected.");
|
||||
if (IN_SET(r, -EMSGSIZE, -EAGAIN))
|
||||
r = dns_transaction_emit_tcp(t);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user