summaryrefslogtreecommitdiff
path: root/data/templates/frr
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2020-12-08 09:29:27 +0000
committersever-sever <v.gletenko@vyos.io>2020-12-08 09:29:27 +0000
commit9f49c546bed35f2d80946536ccd67de1b13c0bf1 (patch)
treea1cb28d0b5fd3653f3e5144ef2470348e1666f8e /data/templates/frr
parent345db48254e2ba94680510d08e85c08d5a6dae37 (diff)
downloadvyos-1x-9f49c546bed35f2d80946536ccd67de1b13c0bf1.tar.gz
vyos-1x-9f49c546bed35f2d80946536ccd67de1b13c0bf1.zip
bgp: T2174: Fix Template. Update to use FRRConfig framework
Diffstat (limited to 'data/templates/frr')
-rw-r--r--data/templates/frr/bgp.frr.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/frr/bgp.frr.tmpl b/data/templates/frr/bgp.frr.tmpl
index 86e1aa366..16355a1e5 100644
--- a/data/templates/frr/bgp.frr.tmpl
+++ b/data/templates/frr/bgp.frr.tmpl
@@ -114,9 +114,9 @@
{% endif %}
{% if config.address_family[af].prefix_list is defined and config.address_family[af].prefix_list is not none %}
{% if config.address_family[af].prefix_list.export is defined and config.address_family[af].prefix_list.export is not none %}
- neighbor {{ neighbor }} route-map {{ config.address_family[af].prefix_list.export }} out
+ neighbor {{ neighbor }} prefix-list {{ config.address_family[af].prefix_list.export }} out
{% elif config.address_family[af].prefix_list.import is defined and config.address_family[af].prefix_list.import is not none %}
- neighbor {{ neighbor }} route-map {{ config.address_family[af].prefix_list.export }} in
+ neighbor {{ neighbor }} prefix-list {{ config.address_family[af].prefix_list.import }} in
{% endif %}
{% endif %}
{% if config.address_family[af].soft_reconfiguration is defined and config.address_family[af].soft_reconfiguration.inbound is defined %}