From b0dd7a759518cf37eecb7967447c56570a9cc237 Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Mon, 27 Jan 2014 15:27:51 -0500 Subject: [PATCH] Fix: relay create session for version before 2.4 Signed-off-by: Julien Desfossez Signed-off-by: David Goulet --- src/bin/lttng-relayd/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bin/lttng-relayd/main.c b/src/bin/lttng-relayd/main.c index b1b48185b..e4a830159 100644 --- a/src/bin/lttng-relayd/main.c +++ b/src/bin/lttng-relayd/main.c @@ -1029,6 +1029,10 @@ int relay_create_session(struct lttcomm_relayd_hdr *recv_hdr, reply.session_id = htobe64(session->id); switch (cmd->minor) { + case 1: + case 2: + case 3: + break; case 4: /* LTTng sessiond 2.4 */ default: ret = cmd_create_session_2_4(cmd, session); -- 2.34.1