summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/system/login/radius-server/node.tag/timeout/node.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/system/login/radius-server/node.tag/timeout/node.def b/templates/system/login/radius-server/node.tag/timeout/node.def
index e2130e97..ab506233 100644
--- a/templates/system/login/radius-server/node.tag/timeout/node.def
+++ b/templates/system/login/radius-server/node.tag/timeout/node.def
@@ -1,3 +1,5 @@
type: u32
help: Set timeout for radius session [REQUIRED]
default: 2
+syntax:expression: $VAR(@) > 0 && $VAR(@) <= 30 \
+ ; "Timeout must be between 1 and 30 seconds"