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 5248eddf0c03632b8c275e8b3cf8850fe027968d..0e9fa06c987e6d22ac74262becc2cbd4b4631f43 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"