mirror of
https://github.com/opnsense/plugins.git
synced 2026-10-12 02:20:37 +00:00
net/frr: fix strict BFD rendering
Render the base BFD command before its separate strict command to match FRR's running configuration.
This commit is contained in:
@@ -137,7 +137,10 @@ router bgp {{ OPNsense.quagga.bgp.asnumber }}
|
||||
neighbor {{ neighbor.address }} description {{ neighbor.description }}
|
||||
{% endif %}
|
||||
{% if neighbor.bfd|default('') == '1' %}
|
||||
neighbor {{ neighbor.address }} bfd {% if neighbor.bfd_strict|default('') == '1' %}strict{% endif +%}
|
||||
neighbor {{ neighbor.address }} bfd
|
||||
{% if neighbor.bfd_strict|default('') == '1' %}
|
||||
neighbor {{ neighbor.address }} bfd strict
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if 'password' in neighbor and neighbor.password != '' %}
|
||||
neighbor {{ neighbor.address }} password {{ neighbor.password }}
|
||||
|
||||
Reference in New Issue
Block a user