]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
resolved: check dns_over_tls_mode in link_needs_save()
authorLennart Poettering <lennart@poettering.net>
Tue, 4 Dec 2018 12:49:03 +0000 (13:49 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 21 Dec 2018 10:04:11 +0000 (11:04 +0100)
This was forgotten when DoT was added.

src/resolve/resolved-link.c

index 2cfb848a8b404458673c6c547c832e29d3fd459e..0f9a0e942137055ec221652b2409c9c00658e39d 100644 (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 ||