summaryrefslogtreecommitdiff
path: root/data/templates/frr/bgpd.frr.j2
diff options
context:
space:
mode:
authorKyle McClammy <kylem@serverforge.org>2023-02-04 02:09:39 +0000
committerKyle McClammy <kylem@serverforge.org>2023-02-04 02:09:39 +0000
commit55bf752570019e1b3b756b25f500cd9bf17efb01 (patch)
treeae4c615808c9b39930829f76b1246e17270acd5e /data/templates/frr/bgpd.frr.j2
parent8a75e92d9172309f76b3a292f4419d68b5ed5eb8 (diff)
downloadvyos-1x-55bf752570019e1b3b756b25f500cd9bf17efb01.tar.gz
vyos-1x-55bf752570019e1b3b756b25f500cd9bf17efb01.zip
T4817, Corrected formatting.
Diffstat (limited to 'data/templates/frr/bgpd.frr.j2')
-rw-r--r--data/templates/frr/bgpd.frr.j28
1 files changed, 4 insertions, 4 deletions
diff --git a/data/templates/frr/bgpd.frr.j2 b/data/templates/frr/bgpd.frr.j2
index 18192deef..b8692f344 100644
--- a/data/templates/frr/bgpd.frr.j2
+++ b/data/templates/frr/bgpd.frr.j2
@@ -9,10 +9,10 @@
{% if config.remote_as is vyos_defined %}
neighbor {{ neighbor }} remote-as {{ config.remote_as }}
{% endif %}
-{% if config.local_role is vyos_defined %}
-{% for role, strict in config.local_role.items() %}
- neighbor {{ neighbor }} local-role {{ role }} {{ 'strict-mode' if strict }}
-{% endfor %}
+{% if config.local_role is vyos_defined %}
+{% for role, strict in config.local_role.items() %}
+ neighbor {{ neighbor }} local-role {{ role }} {{ 'strict-mode' if strict }}
+{% endfor %}
{% endif %}
{% if config.interface.remote_as is vyos_defined %}
neighbor {{ neighbor }} interface remote-as {{ config.interface.remote_as }}