mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
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:
parent
ecf55968a1
commit
a8018eb470
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue