Skip to content

Commit dc2bc98

Browse files
committed
resolved: check dns_over_tls_mode in link_needs_save()
This was forgotten when DoT was added.
1 parent 9a1bbc6 commit dc2bc98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/resolve/resolved-link.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,8 @@ static bool link_needs_save(Link *l) {
11091109

11101110
if (l->llmnr_support != RESOLVE_SUPPORT_YES ||
11111111
l->mdns_support != RESOLVE_SUPPORT_NO ||
1112-
l->dnssec_mode != _DNSSEC_MODE_INVALID)
1112+
l->dnssec_mode != _DNSSEC_MODE_INVALID ||
1113+
l->dns_over_tls_mode != _DNS_OVER_TLS_MODE_INVALID)
11131114
return true;
11141115

11151116
if (l->dns_servers ||

0 commit comments

Comments
 (0)