Commit a8b9a6bc authored by Jos Schellevis's avatar Jos Schellevis

(proxy) fix itereation issue with remoteblacklist

parent 7b274b92
...@@ -193,13 +193,13 @@ http_access allow whiteList ...@@ -193,13 +193,13 @@ http_access allow whiteList
http_access deny blackList http_access deny blackList
{% endif %} {% endif %}
{% if helpers.exists('OPNsense.proxy.forward.acl.remoteACLs.blacklists') %} {% if helpers.exists('OPNsense.proxy.forward.acl.remoteACLs.blacklists') %}
{% for blacklist in helpers.toList('OPNsense.proxy.forward.acl.remoteACLs.blacklists.blacklist') %} {% for blacklist in helpers.toList('OPNsense.proxy.forward.acl.remoteACLs.blacklists.blacklist') if blacklist.enabled=='1' %}
{% if blacklist.enabled=='1' %} {% if loop.first %}
# ACL list (Deny) remoteblacklist # ACL list (Deny) remoteblacklist
http_access deny remoteblacklist http_access deny remoteblacklist
{% break %} {% endif %}
{% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment