luci-proto-wireguard: remove MTU limit
authorFlorian Eckert <fe@dev.tdt.de>
Tue, 12 Apr 2022 08:32:22 +0000 (10:32 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Thu, 14 Apr 2022 10:04:21 +0000 (12:04 +0200)
fixes #5737

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit ddd04a719f3adf4c59d6ab153de0c26eb9495a93)

protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js

index 50080ca9b65da5d0f9757b312fe4e38fdefe3c14..50c1f23641ba29a57654b6bf83740673b57e8a00 100644 (file)
@@ -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 = 'range(1280,1420)';
+               o.datatype = 'max(9200)';
                o.placeholder = '1420';
                o.optional = true;