]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
resolved: rename_DNS_SCOPE_INVALID → _DNS_SCOPE_MATCH_INVALID
authorLennart Poettering <lennart@poettering.net>
Mon, 3 Dec 2018 21:26:46 +0000 (22:26 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 21 Dec 2018 10:04:11 +0000 (11:04 +0100)
The _INVALID and _MAX enum fields should always use the full name of
thenum.

src/resolve/resolved-dns-scope.h

index 04e93f8f7382201680ac5b22b64fa194b073176c..37a720b1ec7f9b2cf91fb5f1288ace3da5367921 100644 (file)
@@ -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 {