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.5.0-rc1~228 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=719af1bb6e6719c6170e059a7e473aa7923ddae9;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 8e6cb4d28..fe4a898bc 100644 --- a/src/bin/lttng-relayd/main.c +++ b/src/bin/lttng-relayd/main.c @@ -1165,6 +1165,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);