luci-proto-wireguard: adjust MTU range from 0-8940

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
pull/5763/head
Florian Eckert 2022-04-14 11:59:56 +02:00
parent b6fb2b1697
commit 7206d8fd6a
1 changed files with 1 additions and 1 deletions

View File

@ -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;