diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-06-13 11:00:52 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-06-13 11:00:52 +0900 |
commit | ddf1a953016cf3b23eff842df9340a3ddfb1ef83 (patch) | |
tree | 380b9ff12053562cfe06c9c9575402edeb1daae5 /src | |
parent | 8adbd8658695181201ab9abb72d850b06c9acbf5 (diff) | |
download | systemd-ddf1a953016cf3b23eff842df9340a3ddfb1ef83.tar.gz |
resolve: reject PrivateDNS=yes
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/resolve-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/resolve-util.c b/src/shared/resolve-util.c index c626da5ed4..770334f257 100644 --- 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); |