From 7460a4a9f8c1041d46db205006e551b1838a8a5e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Mon, 3 Aug 2015 16:48:16 -0400 Subject: [PATCH] Set registration done Agent command version back to 0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The command version was used to indicate a workaround introducing a change of behavior in a minor version. 2.6 was the only version affected by this bug. Fixes #884 Signed-off-by: Jérémie Galarneau --- src/bin/lttng-sessiond/agent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/lttng-sessiond/agent.c b/src/bin/lttng-sessiond/agent.c index 67ca60469..421ef0f9c 100644 --- a/src/bin/lttng-sessiond/agent.c +++ b/src/bin/lttng-sessiond/agent.c @@ -444,7 +444,7 @@ int agent_send_registration_done(struct agent_app *app) DBG("Agent sending registration done to app socket %d", app->sock->fd); - return send_header(app->sock, 0, AGENT_CMD_REG_DONE, 1); + return send_header(app->sock, 0, AGENT_CMD_REG_DONE, 0); } /* -- 2.34.1