pf: Fix indentation from pf.conf

This commit is contained in:
Timo Makinen 2020-09-01 20:37:00 +00:00
parent 6d63bda3ff
commit 8d1fed8695

View file

@ -12,11 +12,11 @@ pass in quick proto icmp6
{{ rule }}
{% endfor %}
{% for rule in firewall_in %}
{% if rule.from is defined %}
{% for from in rule.from | ipaddr %}
{% if rule.from is defined %}
{% for from in rule.from | ipaddr %}
pass in quick proto {{ rule.proto }} from {{ from }} to port {{ rule.port }}
{% endfor %}
{% else %}
{% endfor %}
{% else %}
pass in quick proto {{ rule.proto }} to port {{ rule.port }}
{% endif %}
{% endif %}
{% endfor %}