From a9463d3d1a8febd27703fc421a5ed3335f81ded2 Mon Sep 17 00:00:00 2001 From: danrl Date: Fri, 3 Feb 2017 21:05:01 +0100 Subject: [PATCH] luci-proto-wireguard: fix wrong maximum MTU Signed-off-by: Dan Luedtke --- .../luasrc/model/cbi/admin_network/proto_wireguard.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2