mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
netwatch-dns: update initialization of empty array
Having the parenthesis here is important for valid syntax!
This commit is contained in:
+2
-2
@@ -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={
|
||||
|
||||
Reference in New Issue
Block a user