modules/admin-core: extend network schema to cover stp option
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 29 May 2009 22:54:47 +0000 (22:54 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 29 May 2009 22:54:47 +0000 (22:54 +0000)
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'