* snapshot output.
*/
rcu_read_lock();
- cds_lfht_for_each_entry(consumer->socks->ht, &iter.iter, socket,
- node.node) {
+ cds_lfht_for_each_entry(snap_output->consumer->socks->ht, &iter.iter,
+ socket, node.node) {
ret = send_consumer_relayd_sockets(0, session->id,
snap_output->consumer, socket);
if (ret < 0) {
assert(output);
+ DBG2("Snapshot output initializing with max size %" PRIu64 ", name %s "
+ "ctrl URL %s, data URL %s", max_size, name, ctrl_url, data_url);
+
output->max_size = max_size;
if (snapshot) {
output->id = get_next_output_id(snapshot);
/* Do not monitor this stream. */
if (!channel->monitor) {
- DBG("Kernel consumer add stream %s in no monitor mode with"
+ DBG("Kernel consumer add stream %s in no monitor mode with "
"relayd id %" PRIu64, new_stream->name,
- new_stream->relayd_stream_id);
+ new_stream->net_seq_idx);
cds_list_add(&new_stream->no_monitor_node,
&channel->stream_no_monitor_list.head);
break;