mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-07-30 13:11:36 +00:00
netwatch-dns: fix :toarray on unset doh-cert
Co-authored-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
parent
608499bc89
commit
b6398422d0
1 changed files with 1 additions and 1 deletions
|
|
@ -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={
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue