From: Julien Desfossez Date: Mon, 27 Jan 2014 20:27:51 +0000 (-0500) Subject: Fix: relay create session for version before 2.4 X-Git-Tag: v2.4.0-rc5~58 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b0dd7a759518cf37eecb7967447c56570a9cc237;p=lttng-tools.git Fix: relay create session for version before 2.4 Signed-off-by: Julien Desfossez Signed-off-by: David Goulet --- 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);