From c77b9a6bdfab2658442ebcff660db2f031b772ea Mon Sep 17 00:00:00 2001 From: vindenesen Date: Mon, 21 Oct 2019 11:56:07 +0200 Subject: [OpenVPN]: T1704: Moved ncp-ciphers out of encryption block in config template --- src/conf_mode/interfaces-openvpn.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/conf_mode') 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 %} -- cgit v1.2.3