Fix: get the stream_id when generating live beacons
[lttng-tools.git] / src / bin / lttng-relayd / live.c
index d8517d2f6b14ed8a8e58668a90d282020fbff19c..8c716dbde9852e1de1b9a04261fb59c22035e767 100644 (file)
@@ -1206,6 +1206,7 @@ static int check_index_status(struct relay_viewer_stream *vstream,
                                 */
                                index->status = htobe32(LTTNG_VIEWER_INDEX_INACTIVE);
                                index->timestamp_end = htobe64(rstream->beacon_ts_end);
+                               index->stream_id = htobe64(rstream->ctf_stream_id);
                                goto index_ready;
                        } else if (rstream->total_index_received <= vstream->last_sent_index
                                        && !vstream->close_write_flag) {
This page took 0.023069 seconds and 4 git commands to generate.