summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-01-19 11:37:46 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-01-19 11:37:46 -0800
commita19170dd86777da1e240da777c99934a6956fa54 (patch)
tree5244649a8a904c556b7b904b39f6c828770421bc /templates
parent152de9d429a9fa8f202559ed9a9736c216e07823 (diff)
downloadvyatta-cfg-quagga-a19170dd86777da1e240da777c99934a6956fa54.tar.gz
vyatta-cfg-quagga-a19170dd86777da1e240da777c99934a6956fa54.zip
Restrict radius-server timeout value
Values > 30 are likely to cause login timeout, so don't allow them.
Diffstat (limited to 'templates')
-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"