diff options
author | 2018-12-04 13:49:03 +0100 | |
---|---|---|
committer | 2018-12-21 11:04:11 +0100 | |
commit | dc2bc986eb3883ad4ae6dc7de41a17fc078f3fae (patch) | |
tree | d250e1e034309f9945f1552229ca86e2999e83ed | |
parent | resolved: use structured initialization for DnsScope (diff) | |
download | systemd-dc2bc986eb3883ad4ae6dc7de41a17fc078f3fae.tar.gz systemd-dc2bc986eb3883ad4ae6dc7de41a17fc078f3fae.tar.bz2 systemd-dc2bc986eb3883ad4ae6dc7de41a17fc078f3fae.zip |
resolved: check dns_over_tls_mode in link_needs_save()
This was forgotten when DoT was added.
-rw-r--r-- | src/resolve/resolved-link.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resolve/resolved-link.c b/src/resolve/resolved-link.c index 2cfb848a8..0f9a0e942 100644 --- a/src/resolve/resolved-link.c +++ b/src/resolve/resolved-link.c @@ -1109,7 +1109,8 @@ static bool link_needs_save(Link *l) { if (l->llmnr_support != RESOLVE_SUPPORT_YES || l->mdns_support != RESOLVE_SUPPORT_NO || - l->dnssec_mode != _DNSSEC_MODE_INVALID) + l->dnssec_mode != _DNSSEC_MODE_INVALID || + l->dns_over_tls_mode != _DNS_OVER_TLS_MODE_INVALID) return true; if (l->dns_servers || |