luci-proto-wireguard: adjust MTU range from 0-8940
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
b6fb2b1697
commit
7206d8fd6a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue