Signed-off-by: Christian Babeux <[email protected]>
---
 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 0d96c31..98aba04 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;
        }
-- 
1.7.11.4


_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to