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>
Tue, 12 Apr 2022 08:32:25 +0000 (10:32 +0200)
fixes #5737

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js

index 677edb8bec5acf833daec2e9368381b5362c367f..6a9e34f2ee2dd092c0c3dbd1e15b9722d318539b 100644 (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 = 'range(1280,1420)';
+               o.datatype = 'max(9200)';
                o.placeholder = '1420';
                o.optional = true;