diff options
author | 2018-12-04 12:08:18 +0100 | |
---|---|---|
committer | 2018-12-21 12:09:00 +0100 | |
commit | f76fa088994a74be5aae636e4695bc27a50f0cc2 (patch) | |
tree | 4cce383617878ebd64870e61e88df37490ecd0ba /src/resolve/resolved-dnssd.c | |
parent | resolved: bind .local domains to mDNS with DNS_SCOPE_YES, similar LLMNR (diff) | |
download | systemd-f76fa088994a74be5aae636e4695bc27a50f0cc2.tar.gz systemd-f76fa088994a74be5aae636e4695bc27a50f0cc2.tar.bz2 systemd-f76fa088994a74be5aae636e4695bc27a50f0cc2.zip |
resolved: rework dns_server_limited_domains(), replace by dns_scope_has_route_only_domains()
The function dns_server_limited_domains() was very strange as it
enumerate the domains associated with a DnsScope object to determine
whether any "route-only" domains, but did so as a function associated
with a DnsServer object.
Let's clear this up, and replace it by a function associated with a
DnsScope instead. This makes more sense philosphically and allows us to
reduce the loops through which we need to jump to determine whether a
scope is suitable for default routing a bit.
Diffstat (limited to 'src/resolve/resolved-dnssd.c')
0 files changed, 0 insertions, 0 deletions