From 5b2bc99c30b80c3a706de3133a8c05f852dc08d1 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 b69f86b8f5..a7eefdf5fe 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 (DCO) support") }, } }, { "vpn", translate("VPN"), { -- 2.30.2