pf: Fix deprecation warnings

This commit is contained in:
Timo Makinen 2022-12-13 20:22:51 +00:00
parent f65e12037d
commit 0cda29bd26

View file

@ -15,7 +15,7 @@ pass in quick proto icmp6
{% endif %} {% endif %}
{% 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 | ansible.utils.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 %}