summaryrefslogtreecommitdiff
path: root/src/resolve
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2015-08-25 23:51:34 +0200
committerDaniel Mack <daniel@zonque.org>2015-08-25 23:51:34 +0200
commitd8b7e75f517dad8c1a2dfdf3c82dd6ee9e992391 (patch)
tree3b542018d33df209c22dd67aa6389da5dbb82815 /src/resolve
parent13918f62ff4c01484a0885c749c04020d47c9765 (diff)
resolve: fix regression in dns-scope
Bring back a return statement 106784eb errornously removed. Thanks to @phomes for reporting.
Diffstat (limited to 'src/resolve')
-rw-r--r--src/resolve/resolved-dns-scope.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-scope.c b/src/resolve/resolved-dns-scope.c
index 77034a0be8..eaa099341f 100644
--- a/src/resolve/resolved-dns-scope.c
+++ b/src/resolve/resolved-dns-scope.c
@@ -362,6 +362,7 @@ DnsScopeMatch dns_scope_good_domain(DnsScope *s, int ifindex, uint64_t flags, co
(dns_name_endswith(domain, "local") > 0 && /* only resolve names ending in .local via mDNS */
dns_name_equal(domain, "local") == 0 && /* but not the single-label "local" name itself */
manager_is_own_hostname(s->manager, domain) <= 0)) /* never resolve the local hostname via mDNS */
+ return DNS_SCOPE_MAYBE;
return DNS_SCOPE_NO;