summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-02-10 15:42:08 +0100
committerChristian Breunig <christian@breunig.cc>2024-02-10 15:42:08 +0100
commita22e0ee09ff4750de004090f1f55ee75a12dc821 (patch)
tree1874e8c50cb3beff4fa126d913ec01c568567227 /data/templates
parentf068330bb2605e1a8bec17c638211dc99ccd0536 (diff)
downloadvyos-1x-a22e0ee09ff4750de004090f1f55ee75a12dc821.tar.gz
vyos-1x-a22e0ee09ff4750de004090f1f55ee75a12dc821.zip
bgp: T6010: support setting multiple values for neighbor path-attribute
Diffstat (limited to 'data/templates')
-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 }}