update bgp as-path command (#2032)

This commit is contained in:
Steve Buzonas 2020-09-22 08:21:48 -04:00 committed by GitHub
parent 16e23ec856
commit c657592fa7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -175,7 +175,7 @@ ipv6 prefix-list {{ prefixlist.name }} seq {{ prefixlist.seqnumber }} {{ prefixl
{% if helpers.exists('OPNsense.quagga.bgp.aspaths.aspath') %}
{% for aspath in helpers.sortDictList(OPNsense.quagga.bgp.aspaths.aspath, 'number' ) %}
{% if aspath.enabled == '1' %}
ip as-path access-list {{ aspath.number }} {{ aspath.action }} {{ aspath.as }}
bgp as-path access-list {{ aspath.number }} {{ aspath.action }} {{ aspath.as }}
{% endif %}
{% endfor %}
{% endif %}