Skip to content

Commit 8a85a25

Browse files
committed
netwatch-dns: update initialization of empty array
Having the parenthesis here is important for valid syntax!
1 parent f34c353 commit 8a85a25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

netwatch-dns

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ $ScriptLock $0;
2121
$LogPrintExit2 info $0 ("System just booted, giving netwatch some time to settle.") true;
2222
}
2323

24-
:local DnsServers [ :toarray "" ];
25-
:local DnsFallback [ :toarray "" ];
24+
:local DnsServers ({});
25+
:local DnsFallback ({});
2626
:local DnsCurrent [ /ip/dns/get servers ];
2727

2828
:foreach Host in=[ /tool/netwatch/find where comment~"dns" !disabled ] do={

0 commit comments

Comments
 (0)