summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2022-04-14 11:59:56 +0200
committerFlorian Eckert <fe@dev.tdt.de>2022-04-14 11:59:56 +0200
commit7206d8fd6aac0708dda6ac17c96709e066f6328b (patch)
tree38c965502637d5af99e488923189ccc450c5d920
parentb6fb2b16971f80afcfb7c3dd1d257c60f6cced7f (diff)
luci-proto-wireguard: adjust MTU range from 0-8940
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
-rw-r--r--protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js2
1 files changed, 1 insertions, 1 deletions
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;