diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-24 18:31:05 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-24 18:31:05 +0100 |
commit | e4f22fbb5133a00e4b087ef602f4b84c60b0f295 (patch) | |
tree | edb431e876913e2573e8ecfab3be97455f4fe2fa /data/templates/frr/bgp.frr.tmpl | |
parent | d3d4dabb465d3054760b87cae3bd737eacc101b7 (diff) | |
download | vyos-1x-e4f22fbb5133a00e4b087ef602f4b84c60b0f295.tar.gz vyos-1x-e4f22fbb5133a00e4b087ef602f4b84c60b0f295.zip |
bgp: T3247: bugfix import/export filter-list
Diffstat (limited to 'data/templates/frr/bgp.frr.tmpl')
-rw-r--r-- | data/templates/frr/bgp.frr.tmpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/data/templates/frr/bgp.frr.tmpl b/data/templates/frr/bgp.frr.tmpl index d1a153e54..523fe75e3 100644 --- a/data/templates/frr/bgp.frr.tmpl +++ b/data/templates/frr/bgp.frr.tmpl @@ -108,7 +108,8 @@ {% if config.address_family[af].filter_list is defined and config.address_family[af].filter_list is not none %} {% if config.address_family[af].filter_list.export is defined and config.address_family[af].filter_list.export is not none %} neighbor {{ neighbor }} filter-list {{ config.address_family[af].filter_list.export }} out -{% elif config.address_family[af].filter_list.import is defined and config.address_family[af].filter_list.import is not none %} +{% endif %} +{% if config.address_family[af].filter_list.import is defined and config.address_family[af].filter_list.import is not none %} neighbor {{ neighbor }} filter-list {{ config.address_family[af].filter_list.import }} in {% endif %} {% endif %} |