From bef08707d594ea79f311ff04d470436724670754 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Mon, 6 May 2013 12:06:52 -0400 Subject: [PATCH] Fix: wrong data port when listing session's URI Signed-off-by: David Goulet --- src/bin/lttng-sessiond/cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/lttng-sessiond/cmd.c b/src/bin/lttng-sessiond/cmd.c index 4fcd6a4fe..5d2cba1d4 100644 --- a/src/bin/lttng-sessiond/cmd.c +++ b/src/bin/lttng-sessiond/cmd.c @@ -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. */ -- 2.34.1