From 7206d8fd6aac0708dda6ac17c96709e066f6328b Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Thu, 14 Apr 2022 11:59:56 +0200 Subject: luci-proto-wireguard: adjust MTU range from 0-8940 Signed-off-by: Florian Eckert --- .../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 6a9e34f2ee..d0726795ea 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 @@ -148,7 +148,7 @@ return network.registerProtocol('wireguard', { // -- advanced -------------------------------------------------------------------- o = s.taboption('advanced', form.Value, 'mtu', _('MTU'), _('Optional. Maximum Transmission Unit of tunnel interface.')); - o.datatype = 'max(9200)'; + o.datatype = 'range(0,8940)'; o.placeholder = '1420'; o.optional = true; -- cgit v1.2.3