diff --git a/include/haproxy/action-t.h b/include/haproxy/action-t.h index 7079096c1..91042e091 100644 --- a/include/haproxy/action-t.h +++ b/include/haproxy/action-t.h @@ -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 {