resolved: check dns_over_tls_mode in link_needs_save()

This was forgotten when DoT was added.
This commit is contained in:
Lennart Poettering
2018-12-21 11:04:11 +01:00
parent 9a1bbc6642
commit dc2bc986eb
+2 -1
View File
@@ -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 ||