summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorig0rb <ig0rb@yahoo.com>2025-05-31 14:24:43 +0200
committerChristian Breunig <christian@breunig.cc>2025-06-08 08:44:42 +0200
commitcae75c9a99932fa568f420e75384dcbb84db7445 (patch)
tree3af4c311a382e1c4c3cfa4aaf7e821bab2fd7759
parentb3ebf8f81afc0c4ceddd11c28421971b7b44fe69 (diff)
downloadvyos-1x-cae75c9a99932fa568f420e75384dcbb84db7445.tar.gz
vyos-1x-cae75c9a99932fa568f420e75384dcbb84db7445.zip
T7510: ospfd.frr.j2 ospf nssa translation error - fix template
-rw-r--r--data/templates/frr/ospfd.frr.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/frr/ospfd.frr.j2 b/data/templates/frr/ospfd.frr.j2
index bc2c74b10..79824fb64 100644
--- a/data/templates/frr/ospfd.frr.j2
+++ b/data/templates/frr/ospfd.frr.j2
@@ -82,7 +82,7 @@ router ospf {{ 'vrf ' ~ vrf if vrf is vyos_defined }}
{% for area_id, area_config in area.items() %}
{% if area_config.area_type is vyos_defined %}
{% for type, type_config in area_config.area_type.items() if type != 'normal' %}
- area {{ area_id }} {{ type }} {{ 'no-summary' if type_config.no_summary is vyos_defined }}
+ 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 }}
{% if type_config.default_cost is vyos_defined %}
area {{ area_id }} default-cost {{ type_config.default_cost }}
{% endif %}