summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-openvpn/luasrc/model/cbi
diff options
context:
space:
mode:
authorMartin Schiller <ms@dev.tdt.de>2024-01-31 08:40:35 +0100
committerPaul Donald <itsascambutmailmeanyway@gmail.com>2024-02-08 01:25:12 +0100
commit5b2bc99c30b80c3a706de3133a8c05f852dc08d1 (patch)
treeb72b784ed16827b79a4143d19395341d3937e7d2 /applications/luci-app-openvpn/luasrc/model/cbi
parentee632a18886fe8ac5000d4cb9c86aa2b17288874 (diff)
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 <ms@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-openvpn/luasrc/model/cbi')
-rw-r--r--applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua4
1 files changed, 4 insertions, 0 deletions
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"), {