From 1d6180b74cff43ddc73a0f708b348cade5a9f12d Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Tue, 15 Aug 2023 20:11:35 +0100 Subject: T5271: correct dict path in the template for OpenVPN peer fingerprint --- data/templates/openvpn/server.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data/templates/openvpn') diff --git a/data/templates/openvpn/server.conf.j2 b/data/templates/openvpn/server.conf.j2 index cee83077f..f76fbbe79 100644 --- a/data/templates/openvpn/server.conf.j2 +++ b/data/templates/openvpn/server.conf.j2 @@ -201,9 +201,9 @@ tls-client tls-server {% endif %} -{% if peer_fingerprint is vyos_defined %} +{% if tls.peer_fingerprint is vyos_defined %} -{% for fp in peer_fingerprint %} +{% for fp in tls.peer_fingerprint %} {{ fp }} {% endfor %} -- cgit v1.2.3