Skip to content

Commit f696473

Browse files
ig0rbIgor Battiston
authored and
Igor Battiston
committed
T7510: ospfd.frr.j2 ospf nssa translation error - fix template
1 parent 08dc2e5 commit f696473

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/templates/frr/ospfd.frr.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ router ospf {{ 'vrf ' ~ vrf if vrf is vyos_defined }}
8282
{% for area_id, area_config in area.items() %}
8383
{% if area_config.area_type is vyos_defined %}
8484
{% for type, type_config in area_config.area_type.items() if type != 'normal' %}
85-
area {{ area_id }} {{ type }} {{ 'no-summary' if type_config.no_summary is vyos_defined }}
85+
area {{ area_id }} {{ type }} {{ 'translate-' + type_config.translate if type_config.translate is vyos_defined }} {{ 'no-summary' if type_config.no_summary is vyos_defined }}
8686
{% if type_config.default_cost is vyos_defined %}
8787
area {{ area_id }} default-cost {{ type_config.default_cost }}
8888
{% endif %}

0 commit comments

Comments
 (0)