mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
netwatch-dns: update initialization of empty array
Having the parenthesis here is important for valid syntax!
This commit is contained in:
parent
f34c353b5f
commit
8a85a258fc
1 changed files with 2 additions and 2 deletions
|
@ -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={
|
||||
|
|
Loading…
Reference in a new issue