CLEANUP: stick-table: fill alignment holes in the stktable struct

There were two 32-bit holes in the stktable struct surrounding 32-bit
words, so let's just reorder them a little bit to address the issue.
This commit is contained in:
Willy Tarreau 2022-11-28 18:48:11 +01:00
parent e3a02d5e08
commit 63b5b33ba8

View File

@ -180,8 +180,8 @@ struct stktable {
} peers;
unsigned long type; /* type of table (determines key format) */
unsigned int server_key_type; /* What type of key is used to identify servers */
size_t key_size; /* size of a key, maximum size in case of string */
unsigned int server_key_type; /* What type of key is used to identify servers */
unsigned int size; /* maximum number of sticky sessions in table */
unsigned int current; /* number of sticky sessions currently in table */
int nopurge; /* if non-zero, don't purge sticky sessions when full */