From: Paul Oranje
Date: Wed, 4 Feb 2015 11:12:59 +0000 (+0100)
Subject: luci-proto-ipv6: set aiccu mtu option range
X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b6e53737642317ade9f47fb4b857c4c9e0711140;p=project%2Fluci.git
luci-proto-ipv6: set aiccu mtu option range
---
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"