diff options
-rw-r--r-- | data/templates/frr/bgpd.frr.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
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 %} |