From f6dd785db547d42772fa84b41c19f5ba32589383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Tue, 24 May 2022 15:02:01 +0200 Subject: [PATCH] mesh-vpn-openvpn: fix mtu --- .../luasrc/usr/lib/lua/gluon/mesh-vpn/provider/openvpn.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/gluon-mesh-vpn-openvpn/luasrc/usr/lib/lua/gluon/mesh-vpn/provider/openvpn.lua b/package/gluon-mesh-vpn-openvpn/luasrc/usr/lib/lua/gluon/mesh-vpn/provider/openvpn.lua index 935d2765..eefd7f4d 100755 --- a/package/gluon-mesh-vpn-openvpn/luasrc/usr/lib/lua/gluon/mesh-vpn/provider/openvpn.lua +++ b/package/gluon-mesh-vpn-openvpn/luasrc/usr/lib/lua/gluon/mesh-vpn/provider/openvpn.lua @@ -33,4 +33,8 @@ function M.set_limit(ingress_limit, egress_limit) uci:save('simple-tc') end +function M.mtu() + return site.mesh_vpn.openvpn.mtu() +end + return M