summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-08 11:27:35 +0100
committerGitHub <noreply@github.com>2020-12-08 11:27:35 +0100
commit7ef0840d464205964314c97e4335a2fcf0ca0532 (patch)
treea1cb28d0b5fd3653f3e5144ef2470348e1666f8e /data
parent345db48254e2ba94680510d08e85c08d5a6dae37 (diff)
parent9f49c546bed35f2d80946536ccd67de1b13c0bf1 (diff)
downloadvyos-1x-7ef0840d464205964314c97e4335a2fcf0ca0532.tar.gz
vyos-1x-7ef0840d464205964314c97e4335a2fcf0ca0532.zip
Merge pull request #637 from sever-sever/T2174
bgp: T2174: Fix Template. Update to use FRRConfig framework
Diffstat (limited to 'data')
-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 %}