>From bda513e632e1a366bec08daaf8c5abbf8fced91c Mon Sep 17 00:00:00 2001
From: Florian Roeske <florian.roeske@alliedtelesis.co.nz>
Date: Wed, 8 Aug 2012 16:43:31 +1200
Subject: [PATCH] Fix ipv6 multicast socket option

---
 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
 
-- 
1.7.9.5

