mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
11 lines
239 B
Django/Jinja
11 lines
239 B
Django/Jinja
{% macro remove_comments(bpfmerged, app) %}
|
|
|
|
{# remove comments from the bpf #}
|
|
{% for bpf in bpfmerged[app] %}
|
|
{% if bpf.strip().startswith('#') %}
|
|
{% do bpfmerged[app].pop(loop.index0) %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
{% endmacro %}
|