luci-proto-wireguard: adjust MTU range from 0-8940
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 7206d8fd6a
)
This commit is contained in:
parent
9c862a41ea
commit
990aa4fc6b
1 changed files with 1 additions and 1 deletions
|
@ -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 = 'max(9200)';
|
||||
o.datatype = 'range(0,8940)';
|
||||
o.placeholder = '1420';
|
||||
o.optional = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue