aboutsummaryrefslogtreecommitdiffstats
path: root/check-routeros-update
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-07-07 09:04:40 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-07-07 09:27:40 +0200
commit0f0d539c67ed98a6d3a6b0ae145c3a20e4f28051 (patch)
treeed5984f6c19b14d153b6340030011d72213a3ba7 /check-routeros-update
parent22a9a11c738300d2ff29e065e9f2edca1f2f7709 (diff)
check-routeros-update: log and print on available downgrade
Diffstat (limited to 'check-routeros-update')
-rw-r--r--check-routeros-update2
1 files changed, 2 insertions, 0 deletions
diff --git a/check-routeros-update b/check-routeros-update
index ea1fd31..5b5872d 100644
--- a/check-routeros-update
+++ b/check-routeros-update
@@ -104,5 +104,7 @@
[ $DeviceInfo ] . "\n\n" . \
"https://mikrotik.com/download/changelogs/" . $Update->"channel" . "-release-tree") \
"" "true";
+ $LogPrintExit info ("A different RouterOS version " . ($Update->"latest-version") . \
+ " is available for downgrade.") false;
:set SentRouterosUpdateNotification ($Update->"latest-version");
}