mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 22:31:28 +02: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
@ -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…
x
Reference in New Issue
Block a user