luci-proto-wireguard: fix wrong maximum MTU
authordanrl <mail@danrl.com>
Fri, 3 Feb 2017 20:05:01 +0000 (21:05 +0100)
committerdanrl <mail@danrl.com>
Fri, 3 Feb 2017 20:05:01 +0000 (21:05 +0100)
Signed-off-by: Dan Luedtke <mail@danrl.com>
protocols/luci-proto-wireguard/luasrc/model/cbi/admin_network/proto_wireguard.lua

index e585324106cdde5d94d417b26b9d2401acd7a01c..de4ece3471a0a033a98bd924b28925be95399369 100644 (file)
@@ -66,8 +66,8 @@ mtu = section:taboption(
   translate("MTU"),
   translate("Optional. Maximum Transmission Unit of tunnel interface.")
 )
-mtu.datatype = "range(1280,1423)"
-mtu.placeholder = "1423"
+mtu.datatype = "range(1280,1420)"
+mtu.placeholder = "1420"
 mtu.optional = true