netwatch-dns: reorder variables
This commit is contained in:
parent
007d1ff7b8
commit
42c658e1d4
|
@ -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 ];
|
||||||
|
|
Loading…
Reference in New Issue