BUG/MINOR: flt-trace: fix an infinite loop when random-parsing is set

The issue is introduced with the commit c41d8bd65 ("CLEANUP: flt-trace:
Remove unused random-parsing option").

This must be backported everywhere the above commit is.
This commit is contained in:
Dragan Dosen 2021-09-20 09:29:19 +02:00 committed by Christopher Faulet
parent ecf55968a1
commit a8018eb470

View File

@ -642,7 +642,7 @@ parse_trace_flt(char **args, int *cur_arg, struct proxy *px,
else if (strcmp(args[pos], "quiet") == 0)
conf->flags |= TRACE_F_QUIET;
else if (strcmp(args[pos], "random-parsing") == 0)
continue; // ignore
; // ignore
else if (strcmp(args[pos], "random-forwarding") == 0)
conf->flags |= TRACE_F_RAND_FWD;
else if (strcmp(args[pos], "hexdump") == 0)