X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fkernel-consumer.c;fp=src%2Fbin%2Flttng-sessiond%2Fkernel-consumer.c;h=2d0605e9bc1b308a13886cf9f38b9af64b118920;hp=236ce0eb6abe2948213e01ec5e2816ba8d62495f;hb=a5ba6fdde6d199e37ac6354d296dfacb81428d0e;hpb=ee98f686b2f504fe08ed0af5baa30b220b14b34d diff --git a/src/bin/lttng-sessiond/kernel-consumer.c b/src/bin/lttng-sessiond/kernel-consumer.c index 236ce0eb6..2d0605e9b 100644 --- a/src/bin/lttng-sessiond/kernel-consumer.c +++ b/src/bin/lttng-sessiond/kernel-consumer.c @@ -42,7 +42,10 @@ static char *create_channel_path(struct consumer_output *consumer) assert(consumer); /* Get the right path name destination */ - if (consumer->type == CONSUMER_DST_LOCAL) { + if (consumer->type == CONSUMER_DST_LOCAL || + (consumer->type == CONSUMER_DST_NET && + consumer->relay_major_version == 2 && + consumer->relay_minor_version >= 11)) { pathname = strdup(consumer->domain_subdir); if (!pathname) { PERROR("Failed to copy domain subdirectory string %s",