diff options
author | Christian Hesse <mail@eworm.de> | 2022-07-13 11:57:47 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2022-07-13 11:57:47 +0200 |
commit | b67b9ec1c17c47fca970449c13c6e94f42a1dcb6 (patch) | |
tree | 95a8834df649bf05a5ab3066be7804f52f81515b /netwatch-dns | |
parent | 5b2ea9b1a4f57bc7c61d06cd8b1e0a6452f031a8 (diff) | |
parent | 6fa15257003394d495f84a8dedebadfa8e1fa375 (diff) |
Merge branch 'empty-array' into next
Diffstat (limited to 'netwatch-dns')
-rw-r--r-- | netwatch-dns | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/netwatch-dns b/netwatch-dns index 82a8599..7ec1bb4 100644 --- a/netwatch-dns +++ b/netwatch-dns @@ -21,8 +21,8 @@ $ScriptLock $0; $LogPrintExit2 info $0 ("System just booted, giving netwatch some time to settle.") true; } -:local DnsServers [ :toarray "" ]; -:local DnsFallback [ :toarray "" ]; +:local DnsServers ({}); +:local DnsFallback ({}); :local DnsCurrent [ /ip/dns/get servers ]; :foreach Host in=[ /tool/netwatch/find where comment~"dns" !disabled ] do={ |