network/firewall_rules.nft - prevent printing for-loop newline

This commit is contained in:
LinuxSquare 2023-10-20 15:02:19 +02:00
parent f1cc7be542
commit 20fe7f5b99

View file

@ -5,8 +5,8 @@
table inet filter {
chain input {
tcp dport 22 accept
{% for port in ALLOWED_PORTS %}
{%- for port in ALLOWED_PORTS %}
tcp dport {{ port }} accept
{% endfor %}
{%- endfor %}
}
}