From: vados-dev <192440777+vados-dev@users.noreply.github.com> Date: Fri, 1 May 2026 00:38:20 +0000 (+0300) Subject: Auto-commit: AM-FwAddrLists.rsc manual update on 5/1/2026, 2026-05-01T00:38:20.172Z X-Git-Url: https://git.vados.ru/gitweb.cgi?a=commitdiff_plain;h=c817944d8fe29605eaad50bc3e24cad5f86b17b0;p=Mikrotiks%2Fros.vados.ru.git Auto-commit: AM-FwAddrLists.rsc manual update on 5/1/2026, 2026-05-01T00:38:20.172Z --- diff --git a/html/AM-FwAddrLists.rsc b/html/AM-FwAddrLists.rsc index 8b7291c25..ba4b45e0b 100644 --- a/html/AM-FwAddrLists.rsc +++ b/html/AM-FwAddrLists.rsc @@ -1,16 +1,15 @@ #!rsc by Vados # RouterOS script: AM-FwAddrLists -# download, import and update firewall address-lists -# Copyright (c) 2023-2026 Christian Hesse -# +# Script comment: download, import and update firewall address-lists +# Copyright (c) 2007-2026 Vados # # # requires RouterOS, version=7.19 # https://ros.vados.ru/doc/fw-addr-lists.md :local ExitOK false; :onerror Err { - :global GlobalConfigReady; :global GlobalFunctionsReady; - :retry { :if ($GlobalConfigReady != true || $GlobalFunctionsReady != true) \ + :global GlobalConfReady; :global GlobalFuncReady; + :retry { :if ($GlobalConfReady != true || $GlobalFuncReady != true) \ do={ :error ("Global config and/or functions not ready."); }; } delay=500ms max=50; :local ScriptName [ :jobname ]; @@ -28,8 +27,7 @@ :global NetMask4; :global NetMask6; :global ScriptLock; - :global WaitFullyConnected; - + :local FindDelim do={ :local ValidChars "0123456789.:/ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-"; :for I from=0 to=[ :len $1 ] do={ @@ -48,7 +46,6 @@ :set ExitOK true; :error false; } - $WaitFullyConnected; :if ([ :len [ /log/find where topics=({"script"; "warning"}) \ message=("\$LogPrintOnce: The message is already in log, scripting subsystem may have crashed before!") ] ] > 0) do={