summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-05-19 20:52:29 +0200
committerGitHub <noreply@github.com>2023-05-19 20:52:29 +0200
commit841797229920d2cfef2086391c601cf7bf547b0c (patch)
tree24ca3f75b2727e88fbdccdcef3dae623414ff9f5 /data
parent63380de9b57e2ad6f2634ce967e16275f418f186 (diff)
parentc9497253cb40e75d09e89d91fa08ffc36be8eb5c (diff)
downloadvyos-1x-841797229920d2cfef2086391c601cf7bf547b0c.tar.gz
vyos-1x-841797229920d2cfef2086391c601cf7bf547b0c.zip
Merge pull request #2014 from ServerForge/current
T5230: Added missing enforce-first-as option to bgp protocol common c…
Diffstat (limited to 'data')
-rw-r--r--data/templates/frr/bgpd.frr.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/frr/bgpd.frr.j2 b/data/templates/frr/bgpd.frr.j2
index 7bd9efdce..5e789304a 100644
--- a/data/templates/frr/bgpd.frr.j2
+++ b/data/templates/frr/bgpd.frr.j2
@@ -86,6 +86,9 @@
{% if config.solo is vyos_defined %}
neighbor {{ neighbor }} solo
{% endif %}
+{% if config.enforce_first_as is vyos_defined %}
+ neighbor {{ neighbor }} enforce-first-as
+{% endif %}
{% if config.strict_capability_match is vyos_defined %}
neighbor {{ neighbor }} strict-capability-match
{% endif %}