mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
Fix frr ospfd template on redistribute config section (#1401)
This commit is contained in:
committed by
Franco Fichtner
parent
111609549c
commit
b064543444
+1
-1
@@ -1,6 +1,6 @@
|
||||
PLUGIN_NAME= frr
|
||||
PLUGIN_VERSION= 1.11
|
||||
PLUGIN_REVISION= 1
|
||||
PLUGIN_REVISION= 2
|
||||
PLUGIN_COMMENT= The FRRouting Protocol Suite
|
||||
PLUGIN_DEPENDS= frr6 ruby
|
||||
PLUGIN_MAINTAINER= franz.fabian.94@gmail.com
|
||||
|
||||
@@ -45,9 +45,9 @@ router ospf
|
||||
{% endif %}
|
||||
{% if helpers.exists('OPNsense.quagga.ospf.redistribute') and OPNsense.quagga.ospf.redistribute != '' %}
|
||||
{% for line in OPNsense.quagga.ospf.redistribute.split(',') %}
|
||||
{% set rmap = helpers.getUUID(OPNsense.quagga.ospf.redistributemap) %}
|
||||
redistribute {{ line }} {% if helpers.exists('OPNsense.quagga.ospf.redistributemap') and OPNsense.quagga.ospf.redistributemap != '' %}route-map {{ rmap.name }}
|
||||
{% endif %}
|
||||
{% 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