From: Jo-Philipp Wich Date: Fri, 10 May 2013 11:33:18 +0000 (+0000) Subject: protocols: allow MTU sizes up to 9200 bytes (!OpenWrt ticket !#13492) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7734ac7584bedf538818d9afad5ca5d298555782;p=project%2Fluci.git protocols: allow MTU sizes up to 9200 bytes (!OpenWrt ticket !#13492) --- diff --git a/protocols/core/luasrc/model/cbi/admin_network/proto_dhcp.lua b/protocols/core/luasrc/model/cbi/admin_network/proto_dhcp.lua index 19d177ef11..fe3fec6fa1 100644 --- a/protocols/core/luasrc/model/cbi/admin_network/proto_dhcp.lua +++ b/protocols/core/luasrc/model/cbi/admin_network/proto_dhcp.lua @@ -73,4 +73,4 @@ luci.tools.proto.opt_macaddr(section, ifc, translate("Override MAC address")) mtu = section:taboption("advanced", Value, "mtu", translate("Override MTU")) mtu.placeholder = "1500" -mtu.datatype = "max(1500)" +mtu.datatype = "max(9200)" diff --git a/protocols/core/luasrc/model/cbi/admin_network/proto_static.lua b/protocols/core/luasrc/model/cbi/admin_network/proto_static.lua index e700f47fbb..25e9b3af3b 100644 --- a/protocols/core/luasrc/model/cbi/admin_network/proto_static.lua +++ b/protocols/core/luasrc/model/cbi/admin_network/proto_static.lua @@ -76,7 +76,7 @@ luci.tools.proto.opt_macaddr(section, ifc, translate("Override MAC address")) mtu = section:taboption("advanced", Value, "mtu", translate("Override MTU")) mtu.placeholder = "1500" -mtu.datatype = "max(1500)" +mtu.datatype = "max(9200)" metric = section:taboption("advanced", Value, "metric", diff --git a/protocols/ipv6/luasrc/model/cbi/admin_network/proto_6in4.lua b/protocols/ipv6/luasrc/model/cbi/admin_network/proto_6in4.lua index 0b1f31ce78..b4cba5887a 100644 --- a/protocols/ipv6/luasrc/model/cbi/admin_network/proto_6in4.lua +++ b/protocols/ipv6/luasrc/model/cbi/admin_network/proto_6in4.lua @@ -99,4 +99,4 @@ ttl.datatype = "range(1,255)" mtu = section:taboption("advanced", Value, "mtu", translate("Use MTU on tunnel interface")) mtu.placeholder = "1280" -mtu.datatype = "max(1500)" +mtu.datatype = "max(9200)" diff --git a/protocols/ipv6/luasrc/model/cbi/admin_network/proto_6rd.lua b/protocols/ipv6/luasrc/model/cbi/admin_network/proto_6rd.lua index a4b50efa27..3835561dd7 100644 --- a/protocols/ipv6/luasrc/model/cbi/admin_network/proto_6rd.lua +++ b/protocols/ipv6/luasrc/model/cbi/admin_network/proto_6rd.lua @@ -78,4 +78,4 @@ ttl.datatype = "range(1,255)" mtu = section:taboption("advanced", Value, "mtu", translate("Use MTU on tunnel interface")) mtu.placeholder = "1280" -mtu.datatype = "max(1500)" +mtu.datatype = "max(9200)" diff --git a/protocols/ipv6/luasrc/model/cbi/admin_network/proto_6to4.lua b/protocols/ipv6/luasrc/model/cbi/admin_network/proto_6to4.lua index d9d7b01a94..c0cb95b2ba 100644 --- a/protocols/ipv6/luasrc/model/cbi/admin_network/proto_6to4.lua +++ b/protocols/ipv6/luasrc/model/cbi/admin_network/proto_6to4.lua @@ -43,4 +43,4 @@ ttl.datatype = "range(1,255)" mtu = section:taboption("advanced", Value, "mtu", translate("Use MTU on tunnel interface")) mtu.placeholder = "1280" -mtu.datatype = "max(1500)" +mtu.datatype = "max(9200)" diff --git a/protocols/ipv6/luasrc/model/cbi/admin_network/proto_dhcpv6.lua b/protocols/ipv6/luasrc/model/cbi/admin_network/proto_dhcpv6.lua index 3c672061d9..51f17878d7 100644 --- a/protocols/ipv6/luasrc/model/cbi/admin_network/proto_dhcpv6.lua +++ b/protocols/ipv6/luasrc/model/cbi/admin_network/proto_dhcpv6.lua @@ -64,4 +64,4 @@ luci.tools.proto.opt_macaddr(section, ifc, translate("Override MAC address")) o = section:taboption("advanced", Value, "mtu", translate("Override MTU")) o.placeholder = "1500" -o.datatype = "max(1500)" +o.datatype = "max(9200)" diff --git a/protocols/ppp/luasrc/model/cbi/admin_network/proto_l2tp.lua b/protocols/ppp/luasrc/model/cbi/admin_network/proto_l2tp.lua index f5de45d6a4..c1dd56e126 100644 --- a/protocols/ppp/luasrc/model/cbi/admin_network/proto_l2tp.lua +++ b/protocols/ppp/luasrc/model/cbi/admin_network/proto_l2tp.lua @@ -66,4 +66,4 @@ dns.cast = "string" mtu = section:taboption("advanced", Value, "mtu", translate("Override MTU")) mtu.placeholder = "1500" -mtu.datatype = "max(1500)" +mtu.datatype = "max(9200)" diff --git a/protocols/ppp/luasrc/model/cbi/admin_network/proto_ppp.lua b/protocols/ppp/luasrc/model/cbi/admin_network/proto_ppp.lua index 00760b95b6..659e733a79 100644 --- a/protocols/ppp/luasrc/model/cbi/admin_network/proto_ppp.lua +++ b/protocols/ppp/luasrc/model/cbi/admin_network/proto_ppp.lua @@ -133,4 +133,4 @@ demand.datatype = "uinteger" mtu = section:taboption("advanced", Value, "mtu", translate("Override MTU")) mtu.placeholder = "1500" -mtu.datatype = "max(1500)" +mtu.datatype = "max(9200)" diff --git a/protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoa.lua b/protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoa.lua index 5d4c84dee5..c32e2828d7 100644 --- a/protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoa.lua +++ b/protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoa.lua @@ -139,4 +139,4 @@ demand.datatype = "uinteger" mtu = section:taboption("advanced", Value, "mtu", translate("Override MTU")) mtu.placeholder = "1500" -mtu.datatype = "max(1500)" +mtu.datatype = "max(9200)" diff --git a/protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua b/protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua index 4f19ac3fba..ec258a5282 100644 --- a/protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua +++ b/protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua @@ -133,4 +133,4 @@ demand.datatype = "uinteger" mtu = section:taboption("advanced", Value, "mtu", translate("Override MTU")) mtu.placeholder = "1500" -mtu.datatype = "max(1500)" +mtu.datatype = "max(9200)" diff --git a/protocols/ppp/luasrc/model/cbi/admin_network/proto_pptp.lua b/protocols/ppp/luasrc/model/cbi/admin_network/proto_pptp.lua index 0a2ee8eb1b..ea9858e7de 100644 --- a/protocols/ppp/luasrc/model/cbi/admin_network/proto_pptp.lua +++ b/protocols/ppp/luasrc/model/cbi/admin_network/proto_pptp.lua @@ -113,4 +113,4 @@ demand.datatype = "uinteger" mtu = section:taboption("advanced", Value, "mtu", translate("Override MTU")) mtu.placeholder = "1500" -mtu.datatype = "max(1500)" +mtu.datatype = "max(9200)"