summaryrefslogtreecommitdiffhomepage
path: root/libs/uvl/root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'libs/uvl/root/lib')
-rw-r--r--libs/uvl/root/lib/uci/schema/default/firewall4
-rw-r--r--libs/uvl/root/lib/uci/schema/meta/schema9
2 files changed, 11 insertions, 2 deletions
diff --git a/libs/uvl/root/lib/uci/schema/default/firewall b/libs/uvl/root/lib/uci/schema/default/firewall
index dc488d40fd..e421b11030 100644
--- a/libs/uvl/root/lib/uci/schema/default/firewall
+++ b/libs/uvl/root/lib/uci/schema/default/firewall
@@ -15,8 +15,8 @@ config variable
option name 'network'
option title 'Associated network of this firewall zone'
option section 'firewall.zone'
-# option valueof 'network.interface'
-# option type 'lazylist'
+ option valueof 'network.interface'
+ option multival true
config variable
option name 'forward'
diff --git a/libs/uvl/root/lib/uci/schema/meta/schema b/libs/uvl/root/lib/uci/schema/meta/schema
index 9068124544..1d673d3502 100644
--- a/libs/uvl/root/lib/uci/schema/meta/schema
+++ b/libs/uvl/root/lib/uci/schema/meta/schema
@@ -210,6 +210,15 @@ config variable
option datatype 'boolean'
option required false
+# Variable multiple values flag (schema.@variable.multival)
+config variable
+ option name 'multival'
+ option title 'Specify whether this variable may contain multiple values separated by space'
+ option section 'schema.variable'
+ option type 'variable'
+ option datatype 'boolean'
+ option required false
+
# Variable type (schema.@variable.type)
config variable
option name 'type'