summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Breunig <christian@poessinger.com>2023-01-07 17:49:40 +0100
committerGitHub <noreply@github.com>2023-01-07 17:49:40 +0100
commit47216bbe29e0af8004040b5f1c9dc8450c0e8865 (patch)
treeeac9fb791a8b85d15c4f46cc857f5af251e2757d /data/templates
parent873240f6c8783d62f5f7431843f3a689bb1eea1c (diff)
parentd281cf5a26a5bb73eff432307dde3d5a263f5045 (diff)
downloadvyos-1x-47216bbe29e0af8004040b5f1c9dc8450c0e8865.tar.gz
vyos-1x-47216bbe29e0af8004040b5f1c9dc8450c0e8865.zip
Merge pull request #1741 from vfreex/ospf-fix-passive-interface
T4920: ospf: Fix `passive-interface default` option
Diffstat (limited to 'data/templates')
-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 882ec8f97..0baff2d72 100644
--- a/data/templates/frr/ospfd.frr.j2
+++ b/data/templates/frr/ospfd.frr.j2
@@ -170,7 +170,7 @@ router ospf {{ 'vrf ' ~ vrf if vrf is vyos_defined }}
{% if parameters.router_id is vyos_defined %}
ospf router-id {{ parameters.router_id }}
{% endif %}
-{% if passive_interface.default is vyos_defined %}
+{% if passive_interface is vyos_defined('default') %}
passive-interface default
{% endif %}
{% if redistribute is vyos_defined %}