Commit ff37598f authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(IDS) check config section in template

(cherry picked from commit a1dbc189)
parent ecdd92a8
......@@ -314,6 +314,7 @@ netmap:
disable-promisc: yes
checksum-checks: auto
{% if helpers.exists('OPNsense.IDS.general.interfaces') %}
{% for intfName in OPNsense.IDS.general.interfaces.split(',') %}
- interface: {{helpers.getNodeByTag('interfaces.'+intfName).if}}
......@@ -322,6 +323,7 @@ netmap:
- interface: {{helpers.getNodeByTag('interfaces.'+intfName).if}}+
copy-iface: {{helpers.getNodeByTag('interfaces.'+intfName).if}}
{% endfor %}
{% endif %}
legacy:
uricontent: enabled
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment