summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-05-14 13:37:40 +0200
committerDaniil Baturin <daniil@baturin.org>2018-05-14 13:37:40 +0200
commit0866859c6189553ce33cb80cad20844b609d5393 (patch)
treeb8370dfcc2f0e78ca4296fa8e9b7ab782a54eb9b /interface-definitions
parent37aa8753fa67a1a8ad51cdc50539cab83f94ed2b (diff)
downloadvyos-1x-0866859c6189553ce33cb80cad20844b609d5393.tar.gz
vyos-1x-0866859c6189553ce33cb80cad20844b609d5393.zip
Fix cron interval regex to allow single digit values.
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/cron.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/cron.xml b/interface-definitions/cron.xml
index 8e4c1294a..65b95c5a4 100644
--- a/interface-definitions/cron.xml
+++ b/interface-definitions/cron.xml
@@ -45,7 +45,7 @@
<description>Execution interval in days</description>
</valueHelp>
<constraint>
- <regex>[1-9]([0-9]+)([mhd]{0,1})</regex>
+ <regex>[1-9]([0-9]*)([mhd]{0,1})</regex>
</constraint>
</properties>
</leafNode>