diff options
author | Christian Breunig <christian@breunig.cc> | 2023-07-27 11:16:40 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-07-27 11:16:40 +0200 |
commit | 32b9ac3653fa27e90c0a6b16c3ab141fd4237cb7 (patch) | |
tree | fbe72f15d50dbef39951f3ae44adc49870565026 /data/templates/openvpn/server.conf.j2 | |
parent | 341a84240e6d85c62ad5500ab2ef6e19dcf63cef (diff) | |
download | vyos-1x-32b9ac3653fa27e90c0a6b16c3ab141fd4237cb7.tar.gz vyos-1x-32b9ac3653fa27e90c0a6b16c3ab141fd4237cb7.zip |
openvpn: T4974: move CLI node "enable-dco" -> "offload dco" to match other inetfaces
Keep a common CLI structure by re-using the already established offload
node from ethernet.
Diffstat (limited to 'data/templates/openvpn/server.conf.j2')
-rw-r--r-- | data/templates/openvpn/server.conf.j2 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/data/templates/openvpn/server.conf.j2 b/data/templates/openvpn/server.conf.j2 index 525605240..d144529f3 100644 --- a/data/templates/openvpn/server.conf.j2 +++ b/data/templates/openvpn/server.conf.j2 @@ -48,11 +48,10 @@ push "redirect-gateway def1" {% if use_lzo_compression is vyos_defined %} compress lzo {% endif %} -{% if enable_dco is not vyos_defined %} +{% if offload.dco is not vyos_defined %} disable-dco {% endif %} - {% if mode is vyos_defined('client') %} # # OpenVPN Client mode |