modules/admin-core: extend network schema to cover stp option
[project/luci.git] / modules / admin-core / root / lib / uci / schema / default / network
index 0ea439d..ee58b7a 100644 (file)
@@ -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'