Fix: lttng-live data_size and version endianness
authorJulien Desfossez <jdesfossez@efficios.com>
Tue, 8 Mar 2016 05:32:27 +0000 (00:32 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 4 Apr 2016 17:10:51 +0000 (13:10 -0400)
commitd8fefb9b5319fb3428c01f0ba0f8a3e30f39d143
tree18b055c1c515787f94481aa086d1723423574386
parent6f2097e24b87e487db7f6a340ec9939845df407f
Fix: lttng-live data_size and version endianness

The data_size and cmd_version fields need to be sent in network byte
order to the relay. These fields are currently ignored by the relay
because the commands have a fix-sized payload so it does not cause any
problem for now, but they may be used in the future, so we should avoid
any confusion.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
formats/lttng-live/lttng-live-comm.c
This page took 0.023947 seconds and 4 git commands to generate.