summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPaul Oranje <p.oranje@xs4all.nl>2015-02-04 12:12:59 +0100
committerPaul Oranje <p.oranje@xs4all.nl>2015-02-04 12:12:59 +0100
commitb6e53737642317ade9f47fb4b857c4c9e0711140 (patch)
treec4c0e6327bd577c79f078d308be7a03b853f7ed1
parent0282441f00ee632b87f451979078225dd52031ef (diff)
luci-proto-ipv6: set aiccu mtu option range
-rw-r--r--protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_aiccu.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_aiccu.lua b/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_aiccu.lua
index 5248eddf0c..0e9fa06c98 100644
--- a/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_aiccu.lua
+++ b/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_aiccu.lua
@@ -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"