summaryrefslogtreecommitdiff
path: root/data/templates/frr
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-02-11 23:45:42 +0000
committerGitHub <noreply@github.com>2024-02-11 23:45:42 +0000
commit1d0c97f7b13ef1e4c857d64dc968c5f284e5d1ad (patch)
tree1874e8c50cb3beff4fa126d913ec01c568567227 /data/templates/frr
parentf068330bb2605e1a8bec17c638211dc99ccd0536 (diff)
parenta22e0ee09ff4750de004090f1f55ee75a12dc821 (diff)
downloadvyos-1x-1d0c97f7b13ef1e4c857d64dc968c5f284e5d1ad.tar.gz
vyos-1x-1d0c97f7b13ef1e4c857d64dc968c5f284e5d1ad.zip
Merge pull request #2986 from c-po/bgp-t6010
bgp: T6010: support setting multiple values for neighbor path-attribute
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 }}