net/haproxy: replace stick-table type "ip" with "ipv4", refs #5147

This commit is contained in:
Frank Wall 2026-01-27 15:27:58 +01:00
parent beacd221e3
commit c1b50f084e
2 changed files with 2 additions and 1 deletions

View file

@ -28,6 +28,7 @@ Changed:
* rename some labels in rules
* change LUA boolean conversion (see tune.lua.bool-sample-conversion)
* stick-table "size" and "expiration time" are no longer advanced options (now always visible)
* replace stick-table type "ip" with "ipv4" (#5147)
4.6

View file

@ -724,7 +724,7 @@
{% endif %}
{# # check stick-table type #}
{% if proxy.stickiness_pattern == "sourceipv4" or proxy.stickiness_pattern == "ipv4" %}
{% set table_type = 'ip' %}
{% set table_type = 'ipv4' %}
{% elif proxy.stickiness_pattern == "sourceipv6" or proxy.stickiness_pattern == "ipv6" %}
{% set table_type = 'ipv6' %}
{% elif proxy.stickiness_pattern == "cookievalue" or proxy.stickiness_pattern == "string" %}