summaryrefslogtreecommitdiff
path: root/data/templates/frr/bgpd.frr.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-18 13:58:04 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-18 13:58:04 +0200
commit522402ecb797222e69f6017a84d1b65cfdc5c70e (patch)
tree053f1112600b5cc26b0f781aa90cd1b859547651 /data/templates/frr/bgpd.frr.tmpl
parentcbf1998ae9529be43c2605a5b771363aa496ff40 (diff)
downloadvyos-1x-522402ecb797222e69f6017a84d1b65cfdc5c70e.tar.gz
vyos-1x-522402ecb797222e69f6017a84d1b65cfdc5c70e.zip
bgp: evpn: T1513: fix indention when writing address-family config
Diffstat (limited to 'data/templates/frr/bgpd.frr.tmpl')
-rw-r--r--data/templates/frr/bgpd.frr.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/templates/frr/bgpd.frr.tmpl b/data/templates/frr/bgpd.frr.tmpl
index 7adb007c8..143960e6b 100644
--- a/data/templates/frr/bgpd.frr.tmpl
+++ b/data/templates/frr/bgpd.frr.tmpl
@@ -370,13 +370,13 @@ router bgp {{ local_as }} {{ 'vrf ' ~ vrf if vrf is defined and vrf is not none
{% endif %}
{% endif %}
{% if afi_config.route_target.both is defined and afi_config.route_target.both is not none %}
- route-target both {{ afi_config.route_target.both }}
+ route-target both {{ afi_config.route_target.both }}
{% else %}
{% if afi_config.route_target.export is defined and afi_config.route_target.export is not none %}
- route-target export {{ afi_config.route_target.export }}
+ route-target export {{ afi_config.route_target.export }}
{% endif %}
{% if afi_config.route_target.import is defined and afi_config.route_target.import is not none %}
- route-target import {{ afi_config.route_target.import }}
+ route-target import {{ afi_config.route_target.import }}
{% endif %}
{% endif %}
{% endif %}