diff options
Diffstat (limited to 'src/resolve/resolved-dns-scope.c')
-rw-r--r-- | src/resolve/resolved-dns-scope.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resolve/resolved-dns-scope.c b/src/resolve/resolved-dns-scope.c index 78e03d8121..a056980d02 100644 --- a/src/resolve/resolved-dns-scope.c +++ b/src/resolve/resolved-dns-scope.c @@ -54,15 +54,15 @@ int dns_scope_new(Manager *m, DnsScope **ret, Link *l, DnsProtocol protocol, int if (l) { s->dnssec_mode = link_get_dnssec_mode(l); - s->private_dns_mode = link_get_private_dns_mode(l); + s->dns_over_tls_mode = link_get_dns_over_tls_mode(l); } else { s->dnssec_mode = manager_get_dnssec_mode(m); - s->private_dns_mode = manager_get_private_dns_mode(m); + s->dns_over_tls_mode = manager_get_dns_over_tls_mode(m); } } else { s->dnssec_mode = DNSSEC_NO; - s->private_dns_mode = PRIVATE_DNS_NO; + s->dns_over_tls_mode = DNS_OVER_TLS_NO; } LIST_PREPEND(scopes, m->dns_scopes, s); |