cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1a9e42d124198c8acda28cd6e8239fdcc9384256

commit 1a9e42d124198c8acda28cd6e8239fdcc9384256
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Mon Dec 28 14:01:15 2015 -0800

    ecore_con: fix typo preventing IPv6 multicast to work.
    
    Thanks Vincent Torri for spotting it.
---
 src/lib/ecore_con/ecore_con.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c
index 5a2736f..991d8c6 100644
--- a/src/lib/ecore_con/ecore_con.c
+++ b/src/lib/ecore_con/ecore_con.c
@@ -1751,7 +1751,7 @@ _ecore_con_cb_udp_listen(void *data,
                             &mreq6.ipv6mr_multiaddr))
                goto error;
              mreq6.ipv6mr_interface = htonl(INADDR_ANY);
-             if (setsockopt(svr->fd, IPPROTO_IP, IP_ADD_MEMBERSHIP,
+             if (setsockopt(svr->fd, IPPROTO_IPV6, IPV6_ADD_MEMBERSHIP,
                             (const void *)&mreq6, sizeof(mreq6)) != 0)
                goto error;
           }

-- 


Reply via email to