summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-question.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-24 23:47:28 +0200
committerLennart Poettering <lennart@poettering.net>2015-08-24 23:47:28 +0200
commit9318cdd37467c3275fe72328a7a45986f57e6a7d (patch)
tree3ec9674302692280b766ede94895a5344247667e /src/resolve/resolved-dns-question.h
parent3fa4999b5d29e6ee368ed2fd5d65928cfae9435e (diff)
resolved: change error code when trying to resolve direct LLMNR PTR RRs
If we try to resoolve an LLMNR PTR RR we shall connect via TCP directly to the specified IP address. We already refuse to do this if the address to resolve is of a different address family as the transaction's scope. The error returned was EAFNOSUPPORT. Let's change this to ESRCH which is how we indicate "not server available" when connecting for LLMNR or DNS, since that's what this really is: we have no server we could connect to in this address family. This allows us to ensure that no server errors are always handled the same way.
Diffstat (limited to 'src/resolve/resolved-dns-question.h')
0 files changed, 0 insertions, 0 deletions