From: Martin Schiller Date: Wed, 31 Jan 2024 07:40:35 +0000 (+0100) Subject: luci-app-openvpn: add OpenVPN option disable-dco X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5b2bc99c30b80c3a706de3133a8c05f852dc08d1;p=project%2Fluci.git 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 --- 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"), {