From: Zbigniew Jędrzejewski-Szmek Date: Mon, 20 Apr 2020 10:16:56 +0000 (+0200) Subject: resolved: fix minor confusion in comment X-Git-Tag: v246-rc1~557^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3d334c40b4f4d61288915b18ca7b8e4f49b2fae2;p=thirdparty%2Fsystemd.git resolved: fix minor confusion in comment Suffixing != prefixing. --- diff --git a/src/resolve/resolved-dns-scope.c b/src/resolve/resolved-dns-scope.c index d7e7b5a853c..d06e428011b 100644 --- a/src/resolve/resolved-dns-scope.c +++ b/src/resolve/resolved-dns-scope.c @@ -496,9 +496,8 @@ DnsScopeMatch dns_scope_good_domain( assert(s); assert(domain); - /* Checks if the specified domain is something to look up on - * this scope. Note that this accepts non-qualified hostnames, - * i.e. those without any search path prefixed yet. */ + /* Checks if the specified domain is something to look up on this scope. Note that this accepts + * non-qualified hostnames, i.e. those without any search path suffixed. */ if (ifindex != 0 && (!s->link || s->link->ifindex != ifindex)) return DNS_SCOPE_NO;