summaryrefslogtreecommitdiff
path: root/data/templates/frr
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-02-12 06:26:09 +0100
committerGitHub <noreply@github.com>2024-02-12 06:26:09 +0100
commitb818555726b6945ce5f095e113041765a2e0163a (patch)
tree8b47bb26cdcd099b6a4f626f812b1dce2bb62635 /data/templates/frr
parent5abd4333c1ee0f21448c6c0520e72cba36a709ca (diff)
parentb5525d96617abcb0e8618c92d17640678074b02a (diff)
downloadvyos-1x-b818555726b6945ce5f095e113041765a2e0163a.tar.gz
vyos-1x-b818555726b6945ce5f095e113041765a2e0163a.zip
Merge pull request #2989 from vyos/mergify/bp/sagitta/pr-2986
bgp: T6010: support setting multiple values for neighbor path-attribute (backport #2986)
Diffstat (limited to 'data/templates/frr')
-rw-r--r--data/templates/frr/bgpd.frr.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/frr/bgpd.frr.j2 b/data/templates/frr/bgpd.frr.j2
index 23f81348b..ed55db3f2 100644
--- a/data/templates/frr/bgpd.frr.j2
+++ b/data/templates/frr/bgpd.frr.j2
@@ -76,7 +76,7 @@
neighbor {{ neighbor }} password {{ config.password }}
{% endif %}
{% if config.path_attribute.discard is vyos_defined %}
- neighbor {{ neighbor }} path-attribute discard {{ config.path_attribute.discard }}
+ neighbor {{ neighbor }} path-attribute discard {{ config.path_attribute.discard | join(' ') }}
{% endif %}
{% if config.path_attribute.treat_as_withdraw is vyos_defined %}
neighbor {{ neighbor }} path-attribute treat-as-withdraw {{ config.path_attribute.treat_as_withdraw }}