sort local.zeek so redef is last

This commit is contained in:
m0duspwnens
2023-04-06 09:54:59 -04:00
parent 602e00058a
commit df4bf95b93

View File

@@ -2,9 +2,9 @@
{%- set ALLOWEDOPTIONS = [ '@load', '@load-sigs', 'redef' ] %}
{%- for k, v in LOCAL.items() %}
{%- for k, v in LOCAL.items() | sort %}
{%- if k|lower in ALLOWEDOPTIONS %}
{%- for li in v|sort %}
{%- for li in v %}
{{ k }} {{ li }}
{%- endfor %}
{%- endif %}