]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stick-tables: add "ipv4" as an alias for the "ip" type
authorWilly Tarreau <w@1wt.eu>
Tue, 6 May 2025 08:54:48 +0000 (10:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 7 May 2025 08:11:55 +0000 (10:11 +0200)
commit46b5dcad9957982583d25342ed7ad8c8b30d8b71
tree7c2afeb1e84fdba5293f89822120d37867ac9589
parent697a531516df064d37a2ef9671ce731f7b3ae2b7
MINOR: stick-tables: add "ipv4" as an alias for the "ip" type

However the doc purposely says the opposite, to encourage migrating away
from "ip". The goal is that in the future we change "ip" to mean "ipv6",
which seems to be what most users naturally expect. But we cannot break
configurations in the LTS version so for now "ipv4" is the alias.

The reason for not changing it in the table is that the type name is
used at a few places (look for "].kw"):
  - dumps
  - promex

We'd rather not change that output for 3.2, but only do it in 3.3.
This way, 3.2 can be made future-proof by using "ipv4" in the config
without any other side effect.

Please see github issue #2962 for updates on this transition.
doc/configuration.txt
src/stick_table.c