mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 11:04:42 +00:00
(proxy) fix itereation issue with remoteblacklist
This commit is contained in:
parent
7b274b9258
commit
a8b9a6bcc4
@ -193,13 +193,13 @@ http_access allow whiteList
|
||||
http_access deny blackList
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if helpers.exists('OPNsense.proxy.forward.acl.remoteACLs.blacklists') %}
|
||||
{% for blacklist in helpers.toList('OPNsense.proxy.forward.acl.remoteACLs.blacklists.blacklist') %}
|
||||
{% if blacklist.enabled=='1' %}
|
||||
{% for blacklist in helpers.toList('OPNsense.proxy.forward.acl.remoteACLs.blacklists.blacklist') if blacklist.enabled=='1' %}
|
||||
{% if loop.first %}
|
||||
# ACL list (Deny) remoteblacklist
|
||||
http_access deny remoteblacklist
|
||||
{% break %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user