diff options
author | Christian Hesse <mail@eworm.de> | 2024-11-12 17:40:05 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-11-12 17:40:05 +0100 |
commit | 6c8fa8e639318b72c2102dfff884aa039d09a0f0 (patch) | |
tree | 294b18efb77e74d1b1819b49fa898e09f04fb829 | |
parent | 1f526b356121749991fee69cee5a6c728855c8f2 (diff) |
check-routeros-update: replace hard-coded version
-rw-r--r-- | check-routeros-update.rsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/check-routeros-update.rsc b/check-routeros-update.rsc index 84849ea..c7a5702 100644 --- a/check-routeros-update.rsc +++ b/check-routeros-update.rsc @@ -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; } |