diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-06-13 04:00:52 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-06-13 04:00:52 +0200 |
commit | ddf1a953016cf3b23eff842df9340a3ddfb1ef83 (patch) | |
tree | 380b9ff12053562cfe06c9c9575402edeb1daae5 /src/shared/resolve-util.c | |
parent | resolve: make manager_get_private_dns_mode() always return valid setting (diff) | |
download | systemd-ddf1a953016cf3b23eff842df9340a3ddfb1ef83.tar.xz systemd-ddf1a953016cf3b23eff842df9340a3ddfb1ef83.zip |
resolve: reject PrivateDNS=yes
Diffstat (limited to 'src/shared/resolve-util.c')
-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); |