]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: tcp-act: <expr> support for set-fc-{mark,tos} actions
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 18 Jan 2024 16:17:41 +0000 (17:17 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 1 Feb 2024 09:58:30 +0000 (10:58 +0100)
commitb4ee7b044edbffb8fbeeddcd729a6ece2e44de3e
tree7d01a0e67333ccc14d2055a118bcfc1f22ac54b8
parent03cb782bcb569e7e085e4736acf89c1e4289f42a
MEDIUM: tcp-act: <expr> support for set-fc-{mark,tos} actions

In this patch we add the possibility to use sample expression as argument
for set-fc-{mark,tos} actions. To make it backward compatible with
previous behavior, during parsing we first try to parse the value as
as integer (decimal or hex notation), and then fallback to expr parsing
in case of failure.

The documentation was updated accordingly.
doc/configuration.txt
include/haproxy/action-t.h
src/tcp_act.c