Services: Web Proxy - Fix binding to VIPs after removal of the type attribute. closes https://github.com/opnsense/core/issues/6181

This commit is contained in:
Ad Schellevis 2022-12-21 13:27:37 +01:00
parent 1469471017
commit f636f0c7b5

View File

@ -41,7 +41,7 @@
{# virtual ip's #}
{% if helpers.exists('virtualip') %}
{% for intf_item in helpers.toList('virtualip.vip') %}
{% if intf_item.interface == interface and intf_item.type == 'single' %}
{% if intf_item.interface == interface and intf_item.mode in ['carp', 'ipalias'] %}
{% if intf_item.subnet.find(':') > -1 %}
{{ listener_config('['+intf_item.subnet+']', OPNsense.proxy.forward.port) }}
{% else %}