diff --git a/roles/bird/templates/bird.conf.j2 b/roles/bird/templates/bird.conf.j2 index f77ebe5..92a8708 100644 --- a/roles/bird/templates/bird.conf.j2 +++ b/roles/bird/templates/bird.conf.j2 @@ -126,7 +126,7 @@ bgp_path.prepend({{ filter.as_prepend.asn }}); bgp_local_pref = {{ filter.local_pref }}; {% endif %} {% if filter.accept is defined %} -return {{ filter.accept | ternary("true", "false") }}; +{{ filter.accept | ternary("accept", "reject") }}; {% endif %} {% endmacro %}