aboutsummaryrefslogtreecommitdiffstats
path: root/check-routeros-update.rsc
diff options
context:
space:
mode:
Diffstat (limited to 'check-routeros-update.rsc')
-rw-r--r--check-routeros-update.rsc2
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;
}