diff --git a/src/dumpstats.c b/src/dumpstats.c index 0ffbd5ac0..fd35fe319 100644 --- a/src/dumpstats.c +++ b/src/dumpstats.c @@ -5858,7 +5858,7 @@ static int stats_map_lookup(struct stream_interface *si) /* execute pattern matching */ sample.data.type = SMP_T_STR; - sample.flags |= SMP_F_CONST; + sample.flags = SMP_F_CONST; sample.data.u.str.len = appctx->ctx.map.chunk.len; sample.data.u.str.str = appctx->ctx.map.chunk.str; if (appctx->ctx.map.expr->pat_head->match &&