X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fsessiond-comm%2Finet6.c;h=98aba04306d6dea93020fde056e620f5df5f4fdf;hp=0d96c31c21c98eca65812feeb2e31c91fa6b60d6;hb=7b43086dc8feb11d94e14b73db197eb178be7b50;hpb=01d0a631703bd1249ed3ef3e2b1f523f31e08852 diff --git a/src/common/sessiond-comm/inet6.c b/src/common/sessiond-comm/inet6.c index 0d96c31c2..98aba0430 100644 --- a/src/common/sessiond-comm/inet6.c +++ b/src/common/sessiond-comm/inet6.c @@ -52,7 +52,7 @@ int lttcomm_create_inet6_sock(struct lttcomm_sock *sock, int type, int proto) int val = 1, ret; /* Create server socket */ - if ((sock->fd = socket(PF_INET, type, proto)) < 0) { + if ((sock->fd = socket(PF_INET6, type, proto)) < 0) { PERROR("socket inet6"); goto error; }