projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8adbd86
)
resolve: reject PrivateDNS=yes
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Wed, 13 Jun 2018 02:00:52 +0000
(11:00 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Wed, 13 Jun 2018 02:00:52 +0000
(11:00 +0900)
src/shared/resolve-util.c
patch
|
blob
|
history
diff --git
a/src/shared/resolve-util.c
b/src/shared/resolve-util.c
index
c626da5
..
770334f
100644
(file)
--- a/
src/shared/resolve-util.c
+++ b/
src/shared/resolve-util.c
@@
-31,4
+31,4
@@
static const char* const private_dns_mode_table[_PRIVATE_DNS_MODE_MAX] = {
[PRIVATE_DNS_NO] = "no",
[PRIVATE_DNS_OPPORTUNISTIC] = "opportunistic",
};
-DEFINE_STRING_TABLE_LOOKUP_WITH_BOOLEAN(private_dns_mode, PrivateDnsMode,
PRIVATE_DNS_OPPORTUNISTIC
);
+DEFINE_STRING_TABLE_LOOKUP_WITH_BOOLEAN(private_dns_mode, PrivateDnsMode,
_PRIVATE_DNS_MODE_INVALID
);