From: danrl Date: Fri, 3 Feb 2017 20:05:01 +0000 (+0100) Subject: luci-proto-wireguard: fix wrong maximum MTU X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F988%2Fhead;p=project%2Fluci.git luci-proto-wireguard: fix wrong maximum MTU Signed-off-by: Dan Luedtke --- diff --git a/protocols/luci-proto-wireguard/luasrc/model/cbi/admin_network/proto_wireguard.lua b/protocols/luci-proto-wireguard/luasrc/model/cbi/admin_network/proto_wireguard.lua index e585324106..de4ece3471 100644 --- a/protocols/luci-proto-wireguard/luasrc/model/cbi/admin_network/proto_wireguard.lua +++ b/protocols/luci-proto-wireguard/luasrc/model/cbi/admin_network/proto_wireguard.lua @@ -66,8 +66,8 @@ mtu = section:taboption( translate("MTU"), translate("Optional. Maximum Transmission Unit of tunnel interface.") ) -mtu.datatype = "range(1280,1423)" -mtu.placeholder = "1423" +mtu.datatype = "range(1280,1420)" +mtu.placeholder = "1420" mtu.optional = true