summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/templates/frr/ospfd.frr.j26
1 files changed, 5 insertions, 1 deletions
diff --git a/data/templates/frr/ospfd.frr.j2 b/data/templates/frr/ospfd.frr.j2
index 77bd901b3..2d62e205c 100644
--- a/data/templates/frr/ospfd.frr.j2
+++ b/data/templates/frr/ospfd.frr.j2
@@ -211,9 +211,13 @@ router ospf {{ 'vrf ' ~ vrf if vrf is vyos_defined }}
{% if parameters.abr_type is vyos_defined %}
ospf abr-type {{ parameters.abr_type }}
{% endif %}
-{% if parameters.rfc1583_compatibility is vyos_defined %}
+{% if compatible.rfc1583 is vyos_defined %}
compatible rfc1583
{% endif %}
+{# FRR enables RFC7474 by default and only prints the "no" form #}
+{% if compatible.rfc7474 is not vyos_defined %}
+ no compatible rfc7474
+{% endif %}
{% if parameters.router_id is vyos_defined %}
ospf router-id {{ parameters.router_id }}
{% endif %}