summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2025-06-10 15:52:07 +0100
committerGitHub <noreply@github.com>2025-06-10 15:52:07 +0100
commita3b5108391bc457e741a21ed0121af52928489f1 (patch)
tree5b554103cb406fa9e1535cf017c4db1aef79ec86 /data
parent09f63fb975daaefe843641c5ffbec34ddf6b18de (diff)
parent323ef231bd06650de1405daf6d04b59c1b7b4285 (diff)
downloadvyos-1x-a3b5108391bc457e741a21ed0121af52928489f1.tar.gz
vyos-1x-a3b5108391bc457e741a21ed0121af52928489f1.zip
Merge pull request #4536 from ig0rb/fix/T7510-ospf-nssa-translation-error
T7510: ospfd.frr.j2 ospf nssa translation error - fix template
Diffstat (limited to 'data')
-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 %}