summaryrefslogtreecommitdiff
path: root/data/templates/frr
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-02-10 15:42:08 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-02-11 23:46:38 +0000
commitb5525d96617abcb0e8618c92d17640678074b02a (patch)
tree8b47bb26cdcd099b6a4f626f812b1dce2bb62635 /data/templates/frr
parent5abd4333c1ee0f21448c6c0520e72cba36a709ca (diff)
downloadvyos-1x-b5525d96617abcb0e8618c92d17640678074b02a.tar.gz
vyos-1x-b5525d96617abcb0e8618c92d17640678074b02a.zip
bgp: T6010: support setting multiple values for neighbor path-attribute
(cherry picked from commit a22e0ee09ff4750de004090f1f55ee75a12dc821)
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 }}