diff options
author | vindenesen <vindenesen@gmail.com> | 2019-10-21 11:56:07 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-11-11 16:29:02 +0100 |
commit | c77b9a6bdfab2658442ebcff660db2f031b772ea (patch) | |
tree | d586df624343a7a067c1906555858862ff06b761 /src/conf_mode/interfaces-openvpn.py | |
parent | b2939e7f69ba5707bdc852b0aeab87ccf679b9ab (diff) | |
download | vyos-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/interfaces-openvpn.py')
-rwxr-xr-x | src/conf_mode/interfaces-openvpn.py | 3 |
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 %} |