mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 15:17:01 +02:00
The script hadn't been updated since it was introduced, and the hard-coded field 12 doesn't match anymore (it's 16 now). Let's just use "grep -o cflg..." to extract the desired part more flexibly. This can be backported at least to 3.0, probably further, but it will need to be tested prior to this. Better not bring it too far, it's only used when debugging. |
||
---|---|---|
.. | ||
flags.c | ||
README | ||
show-fd-to-flags.sh | ||
show-sess-to-flags.sh |
This needs to be built from the top makefile, for example : make dev/flags/flags Then the executable is usable either one value at a time from the command line, either with values coming from stdin with "-" passed alone instead of the value. It is possible to restrict the decoding to certain fields only by specifying one of "ana", "chn", "conn", "sc", "si", "sierr", "strm", "task", or "txn" before the value.