Commit a1dbc189 authored by Ad Schellevis's avatar Ad Schellevis

(IDS) check config section in template

parent 88ebf762
......@@ -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