mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-21 10:51:17 +01:00
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:
parent
25809999fe
commit
133c8c412e
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user