From b6398422d02738c9962e55541dada64cfcbc3dba Mon Sep 17 00:00:00 2001 From: Filipe Santos Date: Sun, 26 Jul 2026 13:58:16 +1200 Subject: [PATCH] netwatch-dns: fix :toarray on unset doh-cert Co-authored-by: Christian Hesse --- netwatch-dns.rsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netwatch-dns.rsc b/netwatch-dns.rsc index ac7ce0ac..6fd09a1d 100644 --- a/netwatch-dns.rsc +++ b/netwatch-dns.rsc @@ -103,7 +103,7 @@ } :foreach DohServer in=$DohServers do={ - :foreach DohCert in=[ :toarray delimiter=":" ($DohServer->"doh-cert") ] do={ + :foreach DohCert in=[ :toarray delimiter=":" [ :tostr ($DohServer->"doh-cert") ] ] do={ :if ([ :len $DohCert ] > 0) do={ :if ([ $CertificateAvailable $DohCert "fetch" ] = false || \ [ $CertificateAvailable $DohCert "dns" ] = false) do={