From: Lennart Poettering Date: Sun, 16 Aug 2020 11:35:14 +0000 (+0200) Subject: resolved: drop suppress_unroutable_family field X-Git-Tag: v247-rc1~361^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d4f72f0d212b2173811919119ba8a8e58487d6bb;p=thirdparty%2Fsystemd.git resolved: drop suppress_unroutable_family field It's unused since 90bdc8be66765df09bbc355783cee7204a5ebb31. --- diff --git a/src/resolve/resolved-bus.c b/src/resolve/resolved-bus.c index dba1639a11c..0b09dfca58a 100644 --- a/src/resolve/resolved-bus.c +++ b/src/resolve/resolved-bus.c @@ -353,7 +353,6 @@ static int bus_method_resolve_hostname(sd_bus_message *message, void *userdata, q->request = sd_bus_message_ref(message); q->request_family = family; q->complete = bus_method_resolve_hostname_complete; - q->suppress_unroutable_family = family == AF_UNSPEC; r = dns_query_bus_track(q, message); if (r < 0) diff --git a/src/resolve/resolved-dns-query.h b/src/resolve/resolved-dns-query.h index fe8a2195571..e05015fcfb3 100644 --- a/src/resolve/resolved-dns-query.h +++ b/src/resolve/resolved-dns-query.h @@ -48,10 +48,6 @@ struct DnsQuery { uint64_t flags; int ifindex; - /* If true, A or AAAA RR lookups will be suppressed on links with no routable address of the matching address - * family */ - bool suppress_unroutable_family; - /* If true, the RR TTLs of the answer will be clamped by their current left validity in the cache */ bool clamp_ttl;