]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
resolved: drop suppress_unroutable_family field
authorLennart Poettering <lennart@poettering.net>
Sun, 16 Aug 2020 11:35:14 +0000 (13:35 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 26 Aug 2020 14:47:49 +0000 (16:47 +0200)
It's unused since 90bdc8be66765df09bbc355783cee7204a5ebb31.

src/resolve/resolved-bus.c
src/resolve/resolved-dns-query.h

index dba1639a11cf9ed6803625b868e1cdbb14876e96..0b09dfca58af51830367abf23aa087939805d2d1 100644 (file)
@@ -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)
index fe8a21955714a323a686eefb54837c9a48321c77..e05015fcfb3ad21cc9c97a3549847b126aafeb1b 100644 (file)
@@ -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;