mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/frr: whitespace into config line, not in front of condition
This commit is contained in:
@@ -45,9 +45,8 @@ router ospf
|
||||
{% endif %}
|
||||
{% if helpers.exists('OPNsense.quagga.ospf.redistribute') and OPNsense.quagga.ospf.redistribute != '' %}
|
||||
{% for line in OPNsense.quagga.ospf.redistribute.split(',') %}
|
||||
{% if helpers.exists('OPNsense.quagga.ospf.redistributemap') and OPNsense.quagga.ospf.redistributemap != '' %}{% set line = line + " route-map " + helpers.getUUID(OPNsense.quagga.ospf.redistributemap).name %}{%
|
||||
endif %}
|
||||
redistribute {{ line }}
|
||||
{% if helpers.exists('OPNsense.quagga.ospf.redistributemap') and OPNsense.quagga.ospf.redistributemap != '' %}{% set line = line + " route-map " + helpers.getUUID(OPNsense.quagga.ospf.redistributemap).name %}{% endif %}
|
||||
redistribute {{ line }}
|
||||
{% endfor %}{% endif %}
|
||||
{% if helpers.exists('OPNsense.quagga.ospf.passiveinterfaces') and OPNsense.quagga.ospf.passiveinterfaces != '' %}
|
||||
{% for line in OPNsense.quagga.ospf.passiveinterfaces.split(',') %}
|
||||
|
||||
Reference in New Issue
Block a user