summaryrefslogtreecommitdiffstats
path: root/src/resolve/resolved-dns-scope.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-12-03 22:26:46 +0100
committerLennart Poettering <lennart@poettering.net>2018-12-21 11:04:11 +0100
commit2bfdd6dc548fbe30d153278f63f43b9e466ff0ca (patch)
treed616969d9a74cb42c71d401307a1231245b28cbf /src/resolve/resolved-dns-scope.h
parentresolved: check dns_over_tls_mode in link_needs_save() (diff)
downloadsystemd-2bfdd6dc548fbe30d153278f63f43b9e466ff0ca.tar.xz
systemd-2bfdd6dc548fbe30d153278f63f43b9e466ff0ca.zip
resolved: rename_DNS_SCOPE_INVALID → _DNS_SCOPE_MATCH_INVALID
The _INVALID and _MAX enum fields should always use the full name of thenum.
Diffstat (limited to 'src/resolve/resolved-dns-scope.h')
-rw-r--r--src/resolve/resolved-dns-scope.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-scope.h b/src/resolve/resolved-dns-scope.h
index 04e93f8f73..37a720b1ec 100644
--- a/src/resolve/resolved-dns-scope.h
+++ b/src/resolve/resolved-dns-scope.h
@@ -20,7 +20,7 @@ typedef enum DnsScopeMatch {
DNS_SCOPE_MAYBE,
DNS_SCOPE_YES,
_DNS_SCOPE_MATCH_MAX,
- _DNS_SCOPE_INVALID = -1
+ _DNS_SCOPE_MATCH_INVALID = -1
} DnsScopeMatch;
struct DnsScope {