diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2013-05-10 11:33:18 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2013-05-10 11:33:18 +0000 |
commit | 7734ac7584bedf538818d9afad5ca5d298555782 (patch) | |
tree | 97487350d12a5c6d027cd2bfc4bdc71842a4b086 /protocols/core/luasrc | |
parent | 79f8e6cf24f222fac9594e43668c7aeff48e58f6 (diff) |
protocols: allow MTU sizes up to 9200 bytes (!OpenWrt ticket !#13492)
Diffstat (limited to 'protocols/core/luasrc')
-rw-r--r-- | protocols/core/luasrc/model/cbi/admin_network/proto_dhcp.lua | 2 | ||||
-rw-r--r-- | protocols/core/luasrc/model/cbi/admin_network/proto_static.lua | 2 |
2 files changed, 2 insertions, 2 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 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", |