]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cli: add ACCESS_LVL_MASK to store the access level
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 23 May 2017 22:57:40 +0000 (00:57 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 27 May 2017 05:02:06 +0000 (07:02 +0200)
commit07a62f7a7ee1caf24283ba73df1467be2517ae88
treea36eabf1132a5a827dca3ac73e7e2322c2533304
parentfd80df11c37af2d5d3c9a8659d45905638de717c
MINOR: cli: add ACCESS_LVL_MASK to store the access level

The current level variable use only 2 bits for storing the 3 access
level (user, oper and admin).

This patch add a bitmask which allows to use the remaining bits for
other usage.
include/types/global.h
src/cli.c
src/stats.c
src/stick_table.c