From ccb075fa1b85bec71de8e06fa8c24e88d0d4c395 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Tue, 17 Feb 2026 07:39:31 +0100 Subject: [PATCH] DEV: term-events: Fix hanshake events decoding Handshakes events were not properly decoded. Only send errors were decoded as expected, other events were reported with a '-'. It is now fixes. This patch could be backported as far as 3.2. --- dev/term_events/term_events.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev/term_events/term_events.c b/dev/term_events/term_events.c index 417793fb6..e3eaf147b 100644 --- a/dev/term_events/term_events.c +++ b/dev/term_events/term_events.c @@ -30,10 +30,10 @@ static const char *tevt_fd_types[16] = { }; static const char *tevt_hs_types[16] = { - [ 0] = "-", [ 1] = "-", [ 2] = "-", [ 3] = "rcv_err", - [ 4] = "snd_err", [ 5] = "-", [ 6] = "-", [ 7] = "-", - [ 8] = "-", [ 9] = "-", [10] = "-", [11] = "-", - [12] = "-", [13] = "-", [14] = "-", [15] = "-", + [ 0] = "-", [ 1] = "-", [ 2] = "-", [ 3] = "-", + [ 4] = "snd_err", [ 5] = "truncated_shutr", [ 6] = "truncated_rcv_err", [ 7] = "-", + [ 8] = "-", [ 9] = "-", [10] = "-", [11] = "-", + [12] = "-", [13] = "-", [14] = "-", [15] = "-", }; static const char *tevt_xprt_types[16] = {