summaryrefslogtreecommitdiffhomepage
path: root/libs/uvl/root/lib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-09-04 23:39:55 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-09-04 23:39:55 +0000
commit35a529a5c56df3dbcd105f691d164f4f85283611 (patch)
treec54370257557c67f9327944bb06a122a34a5d6a8 /libs/uvl/root/lib
parent76145b3e254047aab2a526aa26120025289157c8 (diff)
* luci/libs/uvl:
- implement port and portrange datatypes - fix datatype of port ranges in firewall scheme
Diffstat (limited to 'libs/uvl/root/lib')
-rw-r--r--libs/uvl/root/lib/uci/schema/default/firewall10
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/uvl/root/lib/uci/schema/default/firewall b/libs/uvl/root/lib/uci/schema/default/firewall
index e421b11030..fc58705cde 100644
--- a/libs/uvl/root/lib/uci/schema/default/firewall
+++ b/libs/uvl/root/lib/uci/schema/default/firewall
@@ -121,7 +121,7 @@ config variable
option name 'src_port'
option title 'Source port'
option section 'firewall.rule'
- option datatype 'uint'
+ option datatype 'portrange'
config variable
option name 'src_mac'
@@ -145,7 +145,7 @@ config variable
option name 'dest_port'
option title 'Destination port'
option section 'firewall.rule'
- option datatype 'uint'
+ option datatype 'portrange'
config variable
option name 'proto'
@@ -183,13 +183,13 @@ config variable
option name 'src_port'
option title 'Source port'
option section 'firewall.redirect'
- option datatype 'uint'
+ option datatype 'portrange'
config variable
option name 'src_dport'
option title 'Source destination port'
option section 'firewall.redirect'
- option datatype 'uint'
+ option datatype 'portrange'
config variable
option name 'src_mac'
@@ -213,7 +213,7 @@ config variable
option name 'dest_port'
option title 'Destination port'
option section 'firewall.redirect'
- option datatype 'uint'
+ option datatype 'portrange'
config variable
option name 'proto'