From 9c862a41eaed79cf3147da464d6a0edf17a47317 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Tue, 12 Apr 2022 10:32:22 +0200 Subject: [PATCH] luci-proto-wireguard: remove MTU limit fixes #5737 Signed-off-by: Florian Eckert (cherry picked from commit ddd04a719f3adf4c59d6ab153de0c26eb9495a93) --- .../htdocs/luci-static/resources/protocol/wireguard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js b/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js index 50080ca9b6..50c1f23641 100644 --- a/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js +++ b/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js @@ -142,7 +142,7 @@ return network.registerProtocol('wireguard', { // -- advanced -------------------------------------------------------------------- o = s.taboption('advanced', form.Value, 'mtu', _('MTU'), _('Optional. Maximum Transmission Unit of tunnel interface.')); - o.datatype = 'range(1280,1420)'; + o.datatype = 'max(9200)'; o.placeholder = '1420'; o.optional = true; -- 2.30.2