CLEANUP: actions: the keyword must always be const from the rule

There's no reason for a rule to want to modify an action keyword, let's
make sure it is always const.
This commit is contained in:
Willy Tarreau 2021-03-12 11:12:38 +01:00
parent 25809999fe
commit 133c8c412e

View File

@ -111,7 +111,7 @@ struct act_rule {
struct session *sess, struct stream *s, int opts);
int (*check_ptr)(struct act_rule *rule, struct proxy *px, char **err); /* ptr to check function */
void (*release_ptr)(struct act_rule *rule); /* ptr to release function */
struct action_kw *kw;
const struct action_kw *kw;
struct applet applet; /* used for the applet registration. */
union {
struct {