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.

(cherry picked from commit d8c2f5c586cff21448c510ea40dc50b3e412294f)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 42dc35988e4aba7d84d2284fc014f2fd8b47ce0b)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 9c407e4079ef5ed1c3eff397ee6c83174392f085)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit e02745df14b91790fefef8f0293907f25ac9fe9b)
Signed-off-by: Amaury Denoyelle <adenoyelle@haproxy.com>
1 file changed