check-routeros-update: replace hard-coded version

This commit is contained in:
Christian Hesse 2024-11-12 17:40:05 +01:00
parent 1f526b3561
commit 6c8fa8e639

View file

@ -67,7 +67,7 @@
:local NumLatestFeature ($NumLatest & $BitMask);
:local Link ("https://mikrotik.com/download/changelogs/" . $Update->"channel" . "-release-tree");
:if ($NumLatest < 117505792) do={
:if ($NumLatest < [ $VersionToNum "7.0" ]) do={
$LogPrint info $ScriptName ("The version '" . ($Update->"latest-version") . "' is not a valid version.");
:error false;
}