luci-app-openvpn: add OpenVPN option disable-dco
authorMartin Schiller <ms@dev.tdt.de>
Wed, 31 Jan 2024 07:40:35 +0000 (08:40 +0100)
committerPaul Donald <itsascambutmailmeanyway@gmail.com>
Thu, 8 Feb 2024 00:25:12 +0000 (01:25 +0100)
You maybe want to disable the DCO support, so let's add this option.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua

index b69f86b8f5e05f71bfecb9339012413350627ecd..a7eefdf5fe5c42c4f486835e442c95f95e1fdd5c 100644 (file)
@@ -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"), {