]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DEV: flags/show-fd-to-flags: adapt to recent versions
authorWilly Tarreau <w@1wt.eu>
Mon, 24 Jun 2024 09:05:08 +0000 (11:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 25 Jun 2024 06:13:24 +0000 (08:13 +0200)
commita14c7d194ad27f9f84c9d42aab953a162999252a
treef2a7bd208e582664f4e10555f1a02ae12e2e7b88
parentd5376b7a874776b4d5d79f9b746d4654df796f85
DEV: flags/show-fd-to-flags: adapt to recent versions

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.
dev/flags/show-fd-to-flags.sh