diff options
author | Alex Harpin <development@landsofshadow.co.uk> | 2015-03-09 09:17:55 +0000 |
---|---|---|
committer | Alex Harpin <development@landsofshadow.co.uk> | 2015-03-09 09:17:55 +0000 |
commit | 0abc1e7b9744845f67155c4c187077eb26c7da71 (patch) | |
tree | a51bef61c23dad5f2a901e27afbdcf5a8a21c9b1 | |
parent | e1885fe59a8e67aba7eebbb5f89af7a41b553d00 (diff) | |
download | vyatta-cfg-system-0abc1e7b9744845f67155c4c187077eb26c7da71.tar.gz vyatta-cfg-system-0abc1e7b9744845f67155c4c187077eb26c7da71.zip |
vyatta-cfg-system: set default stp priority to 32768 (additional)
Update the bridge priority node to set the default STP priority to the
standard of 32768 when it's deleted, and update the node help to
indicate the new default and possible values.
Bug #512 http://bugzilla.vyos.net/show_bug.cgi?id=512
-rw-r--r-- | templates/interfaces/bridge/node.tag/priority/node.def | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/interfaces/bridge/node.tag/priority/node.def b/templates/interfaces/bridge/node.tag/priority/node.def index d710691a..ba17f841 100644 --- a/templates/interfaces/bridge/node.tag/priority/node.def +++ b/templates/interfaces/bridge/node.tag/priority/node.def @@ -1,8 +1,8 @@ type: u32 help: Priority for this bridge default: 32768 -syntax:expression:$VAR(@) < 65536 ; "Bridge priority must be between 0 and 65535" -val_help: u32:0-65535; Bridge priority (default 0) +syntax:expression:$VAR(@) < 65536 ; "Bridge priority must be between 0 and 65535 (multiples of 4096)" +val_help: u32:0-65535; Bridge priority (default 32768) update: /usr/sbin/brctl setbridgeprio $VAR(../@) $VAR(@) -delete: /usr/sbin/brctl setbridgeprio $VAR(../@) 0 +delete: /usr/sbin/brctl setbridgeprio $VAR(../@) 32768 |