summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-10-06 15:05:14 +0200
committerChristian Breunig <christian@breunig.cc>2024-12-16 22:21:36 +0100
commit7538fd4c518271a517b6753dd664fd07cd86bddd (patch)
treefc95ccb70455fb052b1f11c0305fc732842641ea /data/templates
parent2fcd45e225370a508d7bc0c560cc0fe95656c26f (diff)
downloadvyos-1x-7538fd4c518271a517b6753dd664fd07cd86bddd.tar.gz
vyos-1x-7538fd4c518271a517b6753dd664fd07cd86bddd.zip
rpki: T6747: adjust to new FRR cli interface
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/frr/rpki.frr.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/frr/rpki.frr.j2 b/data/templates/frr/rpki.frr.j2
index 59724102c..59d5bf0ac 100644
--- a/data/templates/frr/rpki.frr.j2
+++ b/data/templates/frr/rpki.frr.j2
@@ -5,9 +5,9 @@ rpki
{% for peer, peer_config in cache.items() %}
{# port is mandatory and preference uses a default value #}
{% if peer_config.ssh.username is vyos_defined %}
- rpki cache {{ peer | replace('_', '-') }} {{ peer_config.port }} {{ peer_config.ssh.username }} {{ peer_config.ssh.private_key_file }} {{ peer_config.ssh.public_key_file }} preference {{ peer_config.preference }}
+ rpki cache ssh {{ peer | replace('_', '-') }} {{ peer_config.port }} {{ peer_config.ssh.username }} {{ peer_config.ssh.private_key_file }} {{ peer_config.ssh.public_key_file }} preference {{ peer_config.preference }}
{% else %}
- rpki cache {{ peer | replace('_', '-') }} {{ peer_config.port }} preference {{ peer_config.preference }}
+ rpki cache tcp {{ peer | replace('_', '-') }} {{ peer_config.port }} preference {{ peer_config.preference }}
{% endif %}
{% endfor %}
{% endif %}