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 }} {{ rule }}
{% endfor %} {% endfor %}
{% for rule in firewall_in %} {% for rule in firewall_in %}
{% if rule.from is defined %} {% if rule.from is defined %}
{% for from in rule.from | ipaddr %} {% for from in rule.from | ipaddr %}
pass in quick proto {{ rule.proto }} from {{ from }} to port {{ rule.port }} pass in quick proto {{ rule.proto }} from {{ from }} to port {{ rule.port }}
{% endfor %} {% endfor %}
{% else %} {% else %}
pass in quick proto {{ rule.proto }} to port {{ rule.port }} pass in quick proto {{ rule.proto }} to port {{ rule.port }}
{% endif %} {% endif %}
{% endfor %} {% endfor %}