luci-proto-ipv6: set aiccu mtu option range
authorPaul Oranje <p.oranje@xs4all.nl>
Wed, 4 Feb 2015 11:12:59 +0000 (12:12 +0100)
committerPaul Oranje <p.oranje@xs4all.nl>
Wed, 4 Feb 2015 11:12:59 +0000 (12:12 +0100)
protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_aiccu.lua

index 5248edd..0e9fa06 100644 (file)
@@ -129,6 +129,7 @@ ttl.placeholder = "64"
 
 mtu = section:taboption("advanced", Value, "mtu",
        translate("Use MTU on tunnel interface"))
-mtu.datatype = "max(9200)"
+        translate("minimum 1280, maximum 1480"))
+mtu.datatype = "range(1280-1480)"
 mtu.placeholder = "1280"