consumer: explicitly set endpoint status to active at init
[lttng-tools.git] / src / common / consumer.c
index b24f95003c9fcd25a0e93eba6349c51bc72151ca..feeb9163bb89cf59e668571ef487ff81091e6fba 100644 (file)
@@ -596,6 +596,7 @@ struct lttng_consumer_stream *consumer_allocate_stream(uint64_t channel_key,
        stream->gid = gid;
        stream->net_seq_idx = relayd_id;
        stream->session_id = session_id;
+       stream->endpoint_status = CONSUMER_ENDPOINT_ACTIVE;
        pthread_mutex_init(&stream->lock, NULL);
 
        /* If channel is the metadata, flag this stream as metadata. */
This page took 0.024122 seconds and 4 git commands to generate.