summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-05-10 11:33:18 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-05-10 11:33:18 +0000
commit7734ac7584bedf538818d9afad5ca5d298555782 (patch)
tree97487350d12a5c6d027cd2bfc4bdc71842a4b086
parent79f8e6cf24f222fac9594e43668c7aeff48e58f6 (diff)
protocols: allow MTU sizes up to 9200 bytes (!OpenWrt ticket !#13492)
-rw-r--r--protocols/core/luasrc/model/cbi/admin_network/proto_dhcp.lua2
-rw-r--r--protocols/core/luasrc/model/cbi/admin_network/proto_static.lua2
-rw-r--r--protocols/ipv6/luasrc/model/cbi/admin_network/proto_6in4.lua2
-rw-r--r--protocols/ipv6/luasrc/model/cbi/admin_network/proto_6rd.lua2
-rw-r--r--protocols/ipv6/luasrc/model/cbi/admin_network/proto_6to4.lua2
-rw-r--r--protocols/ipv6/luasrc/model/cbi/admin_network/proto_dhcpv6.lua2
-rw-r--r--protocols/ppp/luasrc/model/cbi/admin_network/proto_l2tp.lua2
-rw-r--r--protocols/ppp/luasrc/model/cbi/admin_network/proto_ppp.lua2
-rw-r--r--protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoa.lua2
-rw-r--r--protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua2
-rw-r--r--protocols/ppp/luasrc/model/cbi/admin_network/proto_pptp.lua2
11 files changed, 11 insertions, 11 deletions
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 19d177ef1..fe3fec6fa 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 e700f47fb..25e9b3af3 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 0b1f31ce7..b4cba5887 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 a4b50efa2..3835561dd 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 d9d7b01a9..c0cb95b2b 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 3c672061d..51f17878d 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 f5de45d6a..c1dd56e12 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 00760b95b..659e733a7 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 5d4c84dee..c32e2828d 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 4f19ac3fb..ec258a528 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 0a2ee8eb1..ea9858e7d 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)"