]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cli: test the appctx level for master access instead of comparing pointers
authorWilly Tarreau <w@1wt.eu>
Fri, 12 Mar 2021 14:20:39 +0000 (15:20 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 12 Mar 2021 18:09:19 +0000 (19:09 +0100)
commit91bc359571a2f92c3ff02c4b799eb442eb9490c3
tree5eacd2fe5a3593146d79455596fa4ce679b5479e
parente283ee626573439a0fedd05186c34ec87844827d
MINOR: cli: test the appctx level for master access instead of comparing pointers

Now that the appctx contains the master level, it greatly simplifies
all the tests, as we can simply verify that keyword levels match the
effective level without having to cheat with applet pointers. This
also allows to fold the expert test in them.
src/cli.c