1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-31 14:50:15 +03:00

resolved: fix minor confusion in comment

Suffixing != prefixing.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2020-04-20 12:16:56 +02:00
parent 42ecca2e68
commit 3d334c40b4

View 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;