X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Flttng-live%2Flttng-live-plugin.c;h=a1fbb9e826efc903009e777a70dc0fd7522004c4;hp=771801ce9c655d59bac690fd6b0e34863dd54105;hb=fdfb73926a9015e13bf26b8882f7b5332105ce92;hpb=8aaa05176231002977b5a84530bf5ab72b88e144 diff --git a/formats/lttng-live/lttng-live-plugin.c b/formats/lttng-live/lttng-live-plugin.c index 771801ce..a1fbb9e8 100644 --- a/formats/lttng-live/lttng-live-plugin.c +++ b/formats/lttng-live/lttng-live-plugin.c @@ -119,6 +119,10 @@ int parse_url(const char *path, struct lttng_live_ctx *ctx) if (proto_offset > path_len) { goto end; } + if (proto == 6) { + fprintf(stderr, "[error] IPv6 is currently unsupported by lttng-live\n"); + goto end; + } /* TODO : parse for IPv6 as well */ /* Parse the hostname or IP */ ret = sscanf(&path[proto_offset], "%[a-zA-Z.0-9%-]%s",