summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2017-02-03 22:16:03 +0200
committerGitHub <noreply@github.com>2017-02-03 22:16:03 +0200
commitf1820dee255bb8ca7dacbeb2a2cdf622541fed81 (patch)
tree367989fed5cc749db4f25f2dadd73a4ff7b9bc2a
parentb6341bd197aed9640c4d0dcff73019e045978df0 (diff)
parenta9463d3d1a8febd27703fc421a5ed3335f81ded2 (diff)
Merge pull request #988 from danrl/proto-wireguard
luci-proto-wireguard: fix wrong maximum MTU
-rw-r--r--protocols/luci-proto-wireguard/luasrc/model/cbi/admin_network/proto_wireguard.lua4
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 e58532410..de4ece347 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