CLEANUP: stick-table/cli: stop using appctx->st2 for the dump state
authorWilly Tarreau <w@1wt.eu>
Tue, 3 May 2022 09:45:02 +0000 (11:45 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 May 2022 16:13:35 +0000 (18:13 +0200)
commit7849d4c912affed1e868bd90828b9fd898d93539
tree69500ca1bf9758d9d1bc28f8581177288a455bfd
parent3c69e08e965dfa5198f639f31dcb4da5ab553595
CLEANUP: stick-table/cli: stop using appctx->st2 for the dump state

Let's instead define a 4-state enum solely for this use case, and place
it into the command's context. Note that END and FIN were already
aliases, which is why they were merged.
src/stick_table.c