databases/redis: wow, fix this stupid bug

PR: https://www.reddit.com/r/opnsense/comments/1ozm5pc/cant_start_redis_on_opnsense_2577_4_track66379/
This commit is contained in:
Franco Fichtner 2025-11-26 20:49:22 +01:00
parent 094a8fc068
commit df4b6e006e
2 changed files with 2 additions and 6 deletions

View File

@ -1,6 +1,6 @@
PLUGIN_NAME= redis
PLUGIN_VERSION= 1.1
PLUGIN_REVISION= 2
PLUGIN_REVISION= 3
PLUGIN_COMMENT= Redis DB
PLUGIN_DEPENDS= redis72
PLUGIN_MAINTAINER= franz.fabian.94@gmail.com

View File

@ -55,11 +55,7 @@
{% if helpers.exists('virtualip') %}
{% for intf_item in helpers.toList('virtualip.vip') %}
{% if intf_item.interface == listen_interface and intf_item.mode in ['carp', 'ipalias'] %}
{% if intf_item.subnet.find(':') > -1 %}
{% do listen_ip.append(interface_ip) %}
{% else %}
{% do listen_ip.append(interface_ip) %}
{% endif %}
{% do listen_ip.append(intf_item.subnet) %}
{% endif %}
{% endfor %}
{% endif %}