summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-core
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-05-29 22:54:47 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-05-29 22:54:47 +0000
commit3490fba80564a87a0a77c05b973088e45e64888d (patch)
tree58e08c00efc77ffb4c20b336fa68e728d9875ca7 /modules/admin-core
parent147a0ca54b2a0816d06d980e5a4ff1e6af6de69b (diff)
modules/admin-core: extend network schema to cover stp option
Diffstat (limited to 'modules/admin-core')
-rw-r--r--modules/admin-core/root/lib/uci/schema/default/network7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/admin-core/root/lib/uci/schema/default/network b/modules/admin-core/root/lib/uci/schema/default/network
index 0ea439d2d..ee58b7a41 100644
--- a/modules/admin-core/root/lib/uci/schema/default/network
+++ b/modules/admin-core/root/lib/uci/schema/default/network
@@ -339,6 +339,13 @@ config enum
option variable 'network.interface.type'
option value 'bridge'
option title 'This is a bridge interface'
+
+config variable
+ option name 'stp'
+ option title 'Enable STP'
+ option section 'network.interface.stp'
+ option datatype 'boolean'
+ option depends 'type=bridge'