summaryrefslogtreecommitdiff
path: root/data/templates/openvpn
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2023-08-15 20:11:35 +0100
committerDaniil Baturin <daniil@baturin.org>2023-08-15 20:11:35 +0100
commit1d6180b74cff43ddc73a0f708b348cade5a9f12d (patch)
tree629882fdbc43afce8c499ee6470852fbff257012 /data/templates/openvpn
parent4bc012d2b2418ad3313fe5476b1e18a057cc6b7d (diff)
downloadvyos-1x-1d6180b74cff43ddc73a0f708b348cade5a9f12d.tar.gz
vyos-1x-1d6180b74cff43ddc73a0f708b348cade5a9f12d.zip
T5271: correct dict path in the template for OpenVPN peer fingerprint
Diffstat (limited to 'data/templates/openvpn')
-rw-r--r--data/templates/openvpn/server.conf.j24
1 files changed, 2 insertions, 2 deletions
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 %}
<peer-fingerprint>
-{% for fp in peer_fingerprint %}
+{% for fp in tls.peer_fingerprint %}
{{ fp }}
{% endfor %}
</peer-fingerprint>