]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
resolved: fix minor confusion in comment 15491/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 20 Apr 2020 10:16:56 +0000 (12:16 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 20 Apr 2020 10:16:56 +0000 (12:16 +0200)
Suffixing != prefixing.

src/resolve/resolved-dns-scope.c

index d7e7b5a853ca3fb590fbca0b4a343048bffab806..d06e428011b276938864804cf63faadcf7d79e24 100644 (file)
@@ -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;