From d281cf5a26a5bb73eff432307dde3d5a263f5045 Mon Sep 17 00:00:00 2001 From: Yuxiang Zhu Date: Sat, 7 Jan 2023 17:15:33 +0800 Subject: T4920: ospf: Fix `passive-interface default` option `passive_interface` is a leaf node. Also adds a smoketest. --- data/templates/frr/ospfd.frr.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data') 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 %} -- cgit v1.2.3