From 63b5b33ba8f9330193bce231a16e17a9e01457fb Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 28 Nov 2022 18:48:11 +0100 Subject: [PATCH] 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. --- include/haproxy/stick_table-t.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/haproxy/stick_table-t.h b/include/haproxy/stick_table-t.h index cc9fe9357..176771225 100644 --- a/include/haproxy/stick_table-t.h +++ b/include/haproxy/stick_table-t.h @@ -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 */ -- 2.47.3