mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:25:07 -05:00
cmdmon: use char for permissions table
This commit is contained in:
2
cmdmon.c
2
cmdmon.c
@@ -110,7 +110,7 @@ static ResponseCell *free_replies;
|
||||
/* ================================================== */
|
||||
/* Array of permission levels for command types */
|
||||
|
||||
static int permissions[] = {
|
||||
static const char permissions[] = {
|
||||
PERMIT_OPEN, /* NULL */
|
||||
PERMIT_AUTH, /* ONLINE */
|
||||
PERMIT_AUTH, /* OFFLINE */
|
||||
|
||||
Reference in New Issue
Block a user