Of course, the flag FLT_CFG_FL_HTX must be used and not
STRM_FLT_FL_HAS_FILTERS. "Fortunately", these 2 flags have the same value, so
everything worked as expected.
static int
comp_flt_init(struct proxy *px, struct flt_conf *fconf)
{
- fconf->flags |= STRM_FLT_FL_HAS_FILTERS;
+ fconf->flags |= FLT_CFG_FL_HTX;
return 0;
}
else
memprintf(&conf->name, "TRACE/%s", px->id);
- fconf->flags |= STRM_FLT_FL_HAS_FILTERS;
+ fconf->flags |= FLT_CFG_FL_HTX;
fconf->conf = conf;
TRACE(conf, "filter initialized [read random=%s - fwd random=%s - hexdump=%s]",