diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-01-19 11:37:46 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-01-19 11:37:46 -0800 |
commit | a19170dd86777da1e240da777c99934a6956fa54 (patch) | |
tree | 5244649a8a904c556b7b904b39f6c828770421bc | |
parent | 152de9d429a9fa8f202559ed9a9736c216e07823 (diff) | |
download | vyatta-cfg-system-a19170dd86777da1e240da777c99934a6956fa54.tar.gz vyatta-cfg-system-a19170dd86777da1e240da777c99934a6956fa54.zip |
Restrict radius-server timeout value
Values > 30 are likely to cause login timeout, so don't allow them.
-rw-r--r-- | templates/system/login/radius-server/node.tag/timeout/node.def | 2 |
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" |