fix community_affects_* community-list to have the right community number

This commit is contained in:
Marek Isalski 2021-04-28 05:25:12 +01:00
parent 45357cd561
commit 5b6c0d73cc

View File

@ -1365,7 +1365,7 @@ policy {
{% for site_code in ['00'] + pillar['site_codes'] %} {% for site_code in ['00'] + pillar['site_codes'] %}
rule {{ loop.index }} { rule {{ loop.index }} {
action 'permit' action 'permit'
regex 65{{ site_code }}0:{{ community_suffix }} regex 65{{ site_code }}{{ digit }}:{{ community_suffix }}
} }
{% endfor %} {% endfor %}
} }