From 7b43086dc8feb11d94e14b73db197eb178be7b50 Mon Sep 17 00:00:00 2001 From: Christian Babeux Date: Fri, 10 Aug 2012 13:22:52 -0400 Subject: [PATCH] Fix: Wrong domain used when initializing IPv6 sockets Signed-off-by: Christian Babeux Signed-off-by: David Goulet --- src/common/sessiond-comm/inet6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.34.1