summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 0ea439d2d1..ee58b7a41f 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'