From e624d9c6cac6ea37ffbcb068790bcb8aa9e8e6e2 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Thu, 27 Apr 2023 22:19:22 +0200 Subject: bgp: T5010: fix for-loop copy/paste error Commit 923d7f1d7 (bgp: T5010: add missing for-loop when iterating over "both" route-target) referenced export rt instead of both. This happened while improperly copy-pasting the line. --- data/templates/frr/bgpd.frr.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/templates') diff --git a/data/templates/frr/bgpd.frr.j2 b/data/templates/frr/bgpd.frr.j2 index a6c364b56..7bd9efdce 100644 --- a/data/templates/frr/bgpd.frr.j2 +++ b/data/templates/frr/bgpd.frr.j2 @@ -419,7 +419,7 @@ router bgp {{ system_as }} {{ 'vrf ' ~ vrf if vrf is vyos_defined }} rd {{ vni_config.rd }} {% endif %} {% if vni_config.route_target.both is vyos_defined %} -{% for route_target in vni_config.route_target.export %} +{% for route_target in vni_config.route_target.both %} route-target both {{ route_target }} {% endfor %} {% endif %} -- cgit v1.2.3