From 7a534726e27efc7c235628a0a217a1762288d550 Mon Sep 17 00:00:00 2001 From: Martin Schiller Date: Wed, 31 Jan 2024 08:40:35 +0100 Subject: [PATCH] luci-app-openvpn: add OpenVPN option disable-dco You maybe want to disable the DCO support, so let's add this option. Signed-off-by: Martin Schiller --- .../luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua index b69f86b8f5e0..42dab0280250 100644 --- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua +++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua @@ -371,6 +371,10 @@ local knownParams = { { "net30", "p2p", "subnet" }, translate("'net30', 'p2p', or 'subnet'"), {dev_type="tun" } }, + { Flag, + "disable_dco", + 0, + translate("Disable data channel offloading support") }, } }, { "vpn", translate("VPN"), {