git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
ee632a1
)
luci-app-openvpn: add OpenVPN option disable-dco
author
Martin Schiller
<redacted>
Wed, 31 Jan 2024 07:40:35 +0000
(08:40 +0100)
committer
Paul Donald
<redacted>
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 <redacted>
applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua
patch
|
blob
|
history
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 b69f86b8f5e05f71bfecb9339012413350627ecd..a7eefdf5fe5c42c4f486835e442c95f95e1fdd5c 100644
(file)
--- 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"), {
git clone https://git.99rst.org/PROJECT