[vlc-commits] Fix ipv6 multicast socket option

Florian Roeske git at videolan.org
Fri Aug 10 17:05:38 CEST 2012


vlc | branch: master | Florian Roeske <florian.roeske at alliedtelesis.co.nz> | Wed Aug  8 16:43:31 2012 +1200| [f19700eac766624f1c5c72e3668ea186a1edef8f] | committer: Jean-Baptiste Kempf

Fix ipv6 multicast socket option

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f19700eac766624f1c5c72e3668ea186a1edef8f
---

 src/network/udp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/network/udp.c b/src/network/udp.c
index d30f4e9..d88e18d 100644
--- a/src/network/udp.c
+++ b/src/network/udp.c
@@ -259,7 +259,7 @@ static int net_SetMcastOut (vlc_object_t *p_this, int fd, int family,
 #ifdef IPV6_MULTICAST_IF
         case AF_INET6:
             if (setsockopt (fd, SOL_IPV6, IPV6_MULTICAST_IF,
-                            &scope, sizeof (scope) == 0))
+                            &scope, sizeof (scope)) == 0)
                 return 0;
 #endif
 



More information about the vlc-commits mailing list