diff options
author | Daniil Baturin <daniil@baturin.org> | 2023-08-15 20:11:35 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2023-08-15 20:11:35 +0100 |
commit | 1d6180b74cff43ddc73a0f708b348cade5a9f12d (patch) | |
tree | 629882fdbc43afce8c499ee6470852fbff257012 /data/templates/openvpn/server.conf.j2 | |
parent | 4bc012d2b2418ad3313fe5476b1e18a057cc6b7d (diff) | |
download | vyos-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/server.conf.j2')
-rw-r--r-- | data/templates/openvpn/server.conf.j2 | 4 |
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> |