Fix: wrong data port when listing session's URI
authorDavid Goulet <dgoulet@efficios.com>
Mon, 6 May 2013 16:06:52 +0000 (12:06 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 6 May 2013 16:06:52 +0000 (12:06 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/cmd.c

index 4fcd6a4feafdf2eae0b1e4393dd69ecfd6716d5e..5d2cba1d467befbde02cfcc44183304303259421 100644 (file)
@@ -110,7 +110,7 @@ static int build_network_session_path(char *dst, size_t size,
                                tmp_urls, kdata_port, tmp_uurl, udata_port);
        } else {
                int dport;
-               if (kuri) {
+               if (kuri || (!kuri && !uuri)) {
                        dport = kdata_port;
                } else {
                        /* No kernel URI, use the UST port. */
This page took 0.029433 seconds and 4 git commands to generate.