* luci/libs/uvl:
[project/luci.git] / libs / uvl / root / lib / uci / schema / default / firewall
index e421b1103098071f95480a930d73c05b1790e054..fc58705cdee10e73e86559ad75f9908bb25b79cc 100644 (file)
@@ -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'