mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-12-06 01:49:28 +00:00
netwatch-dns: define certificate use
This commit is contained in:
parent
f0910a4472
commit
7772fbb22d
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@
|
||||||
|
|
||||||
:foreach DohServer in=$DohServers do={
|
:foreach DohServer in=$DohServers do={
|
||||||
:if ([ :len ($DohServer->"doh-cert") ] > 0) do={
|
:if ([ :len ($DohServer->"doh-cert") ] > 0) do={
|
||||||
:if ([ $CertificateAvailable ($DohServer->"doh-cert") ] = false) do={
|
:if ([ $CertificateAvailable ($DohServer->"doh-cert") "dns" ] = false) do={
|
||||||
$LogPrint warning $ScriptName ("Downloading certificate failed, trying without.");
|
$LogPrint warning $ScriptName ("Downloading certificate failed, trying without.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue