dns/bind: fix bug in ACL processing for allow-query section

This commit is contained in:
Patrick M. Hausen
2023-04-20 15:29:28 +02:00
committed by Franco Fichtner
parent 61a446cdd7
commit 7f9f089017
@@ -68,7 +68,7 @@ options {
{% if helpers.exists('OPNsense.bind.general.allowquery') and OPNsense.bind.general.allowquery != '' %}
allow-query {
{% for acl in helpers.toList('OPNsense.bind.general.allowquery') %}
{% set query_acl = helpers.getUUID(list) %}
{% set query_acl = helpers.getUUID(acl) %}
{{ query_acl.name }};
{% endfor %}
};