]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: sample: Refactor fc_pp_authority by wrapping the generic TLV fetch
authorAlexander Stephan <alexander.stephan@sap.com>
Wed, 16 Aug 2023 14:18:33 +0000 (16:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 29 Aug 2023 13:31:51 +0000 (15:31 +0200)
commitece0d1ab4946eb8f9b8647644f1eaf533aff33ae
tree1e83349675ceb38e4e8b53e21b299d615fe4ed30
parentf773ef721ca6424c25fe7da77a92f724572d518f
MINOR: sample: Refactor fc_pp_authority by wrapping the generic TLV fetch

We already have a call that can retreive an TLV with any value.
Therefore, the fetch logic is redundant and can be simplified
by simply calling the generic fetch with the correct TLV ID
set as an argument.
include/haproxy/connection.h
src/connection.c