* luci/libs/uvl: extend network scheme to allow proto=none for interfaces
[project/luci.git] / libs / uvl / root / lib / uci / schema / default / firewall
index fc58705..0f4bb26 100644 (file)
@@ -104,6 +104,12 @@ config section
        option package  'firewall'
        list   depends  'target, src'
        list   depends  'target, dest'
+       list   depends  'target, src_ip'
+       list   depends  'target, src_port'
+       list   depends  'target, src_mac'
+       list   depends  'target, dest_ip'
+       list   depends  'target, dest_port'
+       list   depends  'target, proto'
 
 config variable
        option name     'src'
@@ -158,7 +164,6 @@ config variable
        option title    'Option target'
        option section  'firewall.rule'
        option datatype 'string'
-       option required true