summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorvindenesen <vindenesen@gmail.com>2019-10-21 11:56:07 +0200
committerChristian Poessinger <christian@poessinger.com>2019-11-11 16:29:02 +0100
commitc77b9a6bdfab2658442ebcff660db2f031b772ea (patch)
treed586df624343a7a067c1906555858862ff06b761 /src/conf_mode
parentb2939e7f69ba5707bdc852b0aeab87ccf679b9ab (diff)
downloadvyos-1x-c77b9a6bdfab2658442ebcff660db2f031b772ea.tar.gz
vyos-1x-c77b9a6bdfab2658442ebcff660db2f031b772ea.zip
[OpenVPN]: T1704: Moved ncp-ciphers out of encryption block in config template
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/interfaces-openvpn.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-openvpn.py b/src/conf_mode/interfaces-openvpn.py
index 5140cc468..321cef57c 100755
--- a/src/conf_mode/interfaces-openvpn.py
+++ b/src/conf_mode/interfaces-openvpn.py
@@ -220,10 +220,11 @@ cipher aes-256-gcm
{%- elif 'aes256' in encryption %}
cipher aes-256-cbc
{% endif %}
+{% endif %}
+
{%- if ncp_ciphers %}
ncp-ciphers {{ncp_ciphers}}
{% endif %}
-{% endif %}
{%- if disable_ncp %}
ncp-disable
{% endif %}