diff options
author | danrl <mail@danrl.com> | 2017-02-03 21:05:01 +0100 |
---|---|---|
committer | danrl <mail@danrl.com> | 2017-02-03 21:05:01 +0100 |
commit | a9463d3d1a8febd27703fc421a5ed3335f81ded2 (patch) | |
tree | 367989fed5cc749db4f25f2dadd73a4ff7b9bc2a /protocols/luci-proto-wireguard/luasrc/model | |
parent | b6341bd197aed9640c4d0dcff73019e045978df0 (diff) |
luci-proto-wireguard: fix wrong maximum MTU
Signed-off-by: Dan Luedtke <mail@danrl.com>
Diffstat (limited to 'protocols/luci-proto-wireguard/luasrc/model')
-rw-r--r-- | protocols/luci-proto-wireguard/luasrc/model/cbi/admin_network/proto_wireguard.lua | 4 |
1 files 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 |