mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 15:47:01 +02:00
BUG/MEDIUM: peers/trace: fix crash when listing event types
Sending "trace peers event" on the CLI crashes because the event list
in the peers is not finished. This was introduced in 2.4 by commit
d865935f32
("MINOR: peers: Add traces to peer_treat_updatemsg().")
so this must be backported to 2.4.
This commit is contained in:
parent
90efe8a877
commit
d8c2f5c586
@ -334,6 +334,7 @@ static const struct trace_event peers_trace_events[] = {
|
||||
{ .mask = PEERS_EV_SESSREL, .name = "sessrl", .desc = "peer session releasing" },
|
||||
#define PEERS_EV_PROTOERR (1 << 6)
|
||||
{ .mask = PEERS_EV_PROTOERR, .name = "protoerr", .desc = "protocol error" },
|
||||
{ }
|
||||
};
|
||||
|
||||
static const struct name_desc peers_trace_lockon_args[4] = {
|
||||
|
Loading…
Reference in New Issue
Block a user