aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-03-30 20:50:55 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-03-30 20:50:55 +0200
commit5f374c469a0bc49b2c9bf26cc3129e747867cc42 (patch)
tree46dfee68410996602596d5bcf4562ebaf8fa6640 /global-functions.rsc
parent779b3b8872b23b784c331d7a454c86439046f5d3 (diff)
global-functions: $RequiredRouterOS: accept "alpha" in version string
Diffstat (limited to 'global-functions.rsc')
-rw-r--r--global-functions.rsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/global-functions.rsc b/global-functions.rsc
index 24b6223..82823fb 100644
--- a/global-functions.rsc
+++ b/global-functions.rsc
@@ -704,7 +704,7 @@
:global LogPrintExit2;
:global VersionToNum;
- :if (!($Required ~ "^\\d+\\.\\d+((beta|rc|\\.)\\d+|)\$")) do={
+ :if (!($Required ~ "^\\d+\\.\\d+((alpha|beta|rc|\\.)\\d+|)\$")) do={
$LogPrintExit2 error $0 ("No valid RouterOS version: " . $Required) false;
:return false;
}