diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-16 14:51:13 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-16 17:28:50 -0700 |
commit | c317fda4786d93e9cdf94deb1e52c5d581360b7e (patch) | |
tree | 482402f3382ef5dc9c3f4d67c73384ff2a3a86e5 /templates/interfaces/bridge | |
parent | d7839af77fec135ed8342d935a6cb0e136a0d8cb (diff) | |
download | vyatta-cfg-quagga-c317fda4786d93e9cdf94deb1e52c5d581360b7e.tar.gz vyatta-cfg-quagga-c317fda4786d93e9cdf94deb1e52c5d581360b7e.zip |
Add syntax validation for bridge STP parameters
The syntax range for bridge STP values was missing or incorrect.
Bug 5864
Diffstat (limited to 'templates/interfaces/bridge')
-rw-r--r-- | templates/interfaces/bridge/node.tag/priority/node.def | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/interfaces/bridge/node.tag/priority/node.def b/templates/interfaces/bridge/node.tag/priority/node.def index 63548d1e..41c0a682 100644 --- a/templates/interfaces/bridge/node.tag/priority/node.def +++ b/templates/interfaces/bridge/node.tag/priority/node.def @@ -1,7 +1,8 @@ type: u32 help: Set the priority for this bridge default: 0 +syntax:expression:$VAR(@) < 65536 ; "Bridge priority must be between 0 and 65535" +val_help:<0-65535>; Bridge priority (default 0) + update: /usr/sbin/brctl setbridgeprio $VAR(../@) $VAR(@) delete: /usr/sbin/brctl setbridgeprio $VAR(../@) 0 -comp_help: possible completions: - <number> Set bridge priority (default 0) |