From 7734ac7584bedf538818d9afad5ca5d298555782 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 10 May 2013 11:33:18 +0000 Subject: protocols: allow MTU sizes up to 9200 bytes (!OpenWrt ticket !#13492) --- protocols/core/luasrc/model/cbi/admin_network/proto_dhcp.lua | 2 +- protocols/core/luasrc/model/cbi/admin_network/proto_static.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/core') 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", -- cgit v1.2.3