diff options
| author | Kyrylo Yatsenko <hedrok@gmail.com> | 2026-11-12 23:02:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-12 23:02:07 +0200 |
| commit | 95afe65e7dc8a0b3d620dda7bdf758e7f0245a45 (patch) | |
| tree | 161eaf164ccb094444a3893b2be7a351f1d2bd8a /data | |
| parent | fb1e6941824f43832535a6c08c1a11cddadaf583 (diff) | |
| parent | bffa7c48f7e8724c1fba21cbb32a7b8ab0d40def (diff) | |
| download | vyos-1x-95afe65e7dc8a0b3d620dda7bdf758e7f0245a45.tar.gz vyos-1x-95afe65e7dc8a0b3d620dda7bdf758e7f0245a45.zip | |
Merge pull request #5648 from c-po/T9606-ospf-compatible
ospf: T9606: add "compatible" node for RFC1583 and RFC7474 options
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/frr/ospfd.frr.j2 | 6 |
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 %} |
