netwatch-dns: reorder variables

This commit is contained in:
Christian Hesse 2023-06-01 09:23:22 +02:00
parent 007d1ff7b8
commit 42c658e1d4
1 changed files with 1 additions and 1 deletions

View File

@ -58,8 +58,8 @@ $ScriptLock $0;
} }
:local DohServer ""; :local DohServer "";
:local DohCurrent [ /ip/dns/get use-doh-server ];
:local DohCert ""; :local DohCert "";
:local DohCurrent [ /ip/dns/get use-doh-server ];
:foreach Host in=[ /tool/netwatch/find where comment~"doh" status="up" ] do={ :foreach Host in=[ /tool/netwatch/find where comment~"doh" status="up" ] do={
:local HostVal [ /tool/netwatch/get $Host ]; :local HostVal [ /tool/netwatch/get $Host ];