From: David Goulet Date: Fri, 27 Sep 2013 18:40:19 +0000 (-0400) Subject: Fix: assign values to relayd connection type enum X-Git-Tag: v2.4.0-rc1~139 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d5200de153711cdd58371bdbd4828140ba72172b;p=lttng-tools.git Fix: assign values to relayd connection type enum Signed-off-by: David Goulet --- diff --git a/src/bin/lttng-relayd/lttng-relayd.h b/src/bin/lttng-relayd/lttng-relayd.h index fbd7d7846..3b7c74604 100644 --- a/src/bin/lttng-relayd/lttng-relayd.h +++ b/src/bin/lttng-relayd/lttng-relayd.h @@ -38,10 +38,10 @@ struct relay_cmd_queue { }; enum connection_type { - RELAY_DATA, - RELAY_CONTROL, - RELAY_VIEWER_COMMAND, - RELAY_VIEWER_NOTIFICATION, + RELAY_DATA = 1, + RELAY_CONTROL = 2, + RELAY_VIEWER_COMMAND = 3, + RELAY_VIEWER_NOTIFICATION = 4, }; /*