]> git.sesse.net Git - vlc/commitdiff
Fix ipv6 multicast socket option
authorFlorian Roeske <florian.roeske@alliedtelesis.co.nz>
Wed, 8 Aug 2012 04:43:31 +0000 (16:43 +1200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 10 Aug 2012 15:02:17 +0000 (17:02 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
src/network/udp.c

index d30f4e99368334e23657e89bd667971ce1046c57..d88e18d6579e091e9fd29f4d00685aeb0753b97f 100644 (file)
@@ -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